Skip to content

cf_collide

Category: collision
GitHub: cute_math.h


Computes a CF_Manifold between two shapes.

void cf_collide(const void* A, CF_ShapeType typeA, const void* B, CF_ShapeType typeB, CF_Manifold* m);
Parameters Description
A The first shape.
typeA The CF_ShapeType of the first shape A.
B The second shape.
typeB The CF_ShapeType of the second shape B.
m Contains information about the intersection. m->count is set to zero for no-intersection. See CF_Manifold for details.

cf_collided
CF_Manifold
CF_ShapeType