Skip to content

cf_capsule_to_poly_manifold

Category: collision
GitHub: cute_math.h


Computes information about how two shapes intersect.

CF_Manifold cf_capsule_to_poly_manifold(CF_Capsule A, const CF_Poly* B, const CF_Transform* bx);
Parameters Description
A The first shape.
B The second shape.

Return Value

Returns a CF_Manifold containing information about the intersection. See CF_Manifold for details.

Remarks

This function is slightly slower than the boolean version cf_capsule_to_poly.

CF_Manifold
CF_Capsule
CF_Poly
cf_circle_to_circle_manifold
cf_circle_to_aabb_manifold
cf_circle_to_capsule_manifold
cf_aabb_to_aabb_manifold
cf_aabb_to_capsule_manifold
cf_circle_to_poly_manifold
cf_aabb_to_poly_manifold
cf_poly_to_poly_manifold