Module ncollide2d::query::ray_internal
source · Expand description
Ray-casting related definitions and implementations.
Structs
A Ray.
Bounding Volume Tree visitor collecting interferences with a given ray.
Structure containing the result of a successful ray cast.
A search thet selects the objects that has the smallest time of impact with a given ray.
Traits
Traits of objects which can be transformed and tested for intersection with a ray.
Functions
Computes the time of impact of a ray on a ball.
Cast a ray on a shape using the GJK algorithm.
Computes the toi of an unbounded line with a plane described by its center and normal.
Computes the toi of a ray with a plane described by its center and normal.