Skip to main content

Module collision

Module collision 

Source

Structs§

DynamicIntersection
Intersection

Functions§

cube_vs_cube
ray_aabb_intersection
Returns the first intersection time between a ray and an axis-aligned bounding box.
ray_vs_sphere
Returns the intersection times of a ray and a sphere, if one exists.
sphere_in_frustum
Returns whether a sphere is inside, or touches, a frustum.
sphere_vs_cube
sphere_vs_sphere
sphere_vs_sphere_dynamic