CF_Capsule¶
Category: collision
GitHub: cute_math.h
A capsule shape.
Struct Members | Description |
---|---|
CF_V2 a |
The center of one end-cap. |
CF_V2 b |
The center of another end-cap. |
float r |
The radius about the rod defined from a to b . |
Remarks¶
It's like a shrink-wrap of 2 circles connected by a rod.
Related Pages¶
cf_capsule_to_poly_manifold
cf_circle_to_capsule
cf_aabb_to_capsule
cf_capsule_to_capsule
cf_capsule_to_poly
cf_ray_to_capsule
cf_circle_to_capsule_manifold
cf_aabb_to_capsule_manifold
cf_capsule_to_capsule_manifold