Expand description
Collision primitives to accompany the mini-math crate.
Structs§
- Capsule
- A cylinder capped with a half-sphere at each end
- Contact
- The result of a collision
- Line
- An infinite line.
- Line
Segment - A finite line segment
- Plane
- An infinite plane
- Ray
- An infinite ray
- Sphere
- A sphere
- Triangle
- A triangle
Traits§
- Closest
Point - Trait for finding the closest point to another object
- Collision
- Trait for determining the collision between two shapes
- Distance
- Trait for finding the distance between two objects
- Intersection
- Trait for determining whether two shapes intersect with one another