[][src]Module ncollide2d::query::ray_internal

Ray-casting related definitions and implementations.

Structs

Ray

A Ray.

RayIntersection

Structure containing the result of a successful ray cast.

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.