cf_capsule3_to_b3¶
Category: physics
GitHub: cute_physics.h
Converts a CF_Capsule3 to a b3Capsule (bit-identical).
b3Capsule cf_capsule3_to_b3(CF_Capsule3 capsule) { b3Capsule out; out.center1 = cf_v3_to_b3(capsule.a); out.center2 = cf_v3_to_b3(capsule.b); out.radius = capsule.r; return out; }