Modules§
Structs§
- Array
Convex Polygon - A convex polygon backed by fixed-size arrays, using const generics
so it can be constructed and stored in
const/staticcontexts. - Array
Convex Polytope - A convex polytope defined by half-planes and vertices, using const generics
so it can be constructed and stored in
const/staticcontexts. - Capsule
- Collider
- Convex
Polygon - A bounded convex polygon in 3D: a flat convex shape defined by a center, a normal direction, and a list of 2D vertices (in a local tangent frame) forming a convex boundary.
- Convex
Polytope - Cuboid
- Line
- An infinite line:
origin + t * dirfor allt ∈ (-∞, ∞). - Line
Segment - A line segment from
p1top1 + dir. - NoPcl
- Plane
- An infinite plane defined as a half-space:
normal · x <= d. The plane surface is atnormal · x = d; everything on the side opposite to the normal is considered solid. - Point
- Pointcloud
- Ray
- A ray:
origin + t * dirfort ∈ [0, ∞). - Sphere
Enums§
Traits§
- Bounded
- Collider
Component - Collider
Query - Trait for types that can query a
Colliderfor collisions. Each shape type implements this with its own optimized dispatch path, soCollider::collidesandcollides_otherjust call through here. - Collides
- Collides
With Everything - Scalable
- Stretchable
- Transformable