[][src]Module ncollide3d::query::ray_internal

Ray-casting related definitions and implementations.

Structs

Ray

A Ray.

RayInterferencesCollector

Bounding Volume Tree visitor collecting interferences with a given ray.

RayIntersection

Structure containing the result of a successful ray cast.

RayIntersectionCostFn

A search thet selects the objects that has the smallest time of impact with a given ray.

Traits

RayCast

Traits of objects which can be transformed and tested for intersection with a ray.

Functions

ball_toi_with_ray

Computes the time of impact of a ray on a ball.

implicit_toi_and_normal_with_ray

Cast a ray on a shape using the GJK algorithm.

plane_toi_with_line

Computes the toi of an unbounded line with a plane described by its center and normal.

plane_toi_with_ray

Computes the toi of a ray with a plane described by its center and normal.

triangle_ray_intersection

Computes the intersection between a triangle and a ray.