1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//! Ray-casting related definitions and implementations.

#[doc(inline)]
pub use self::ray::{Ray, RayCast, RayIntersection};
pub use self::ray_plane::{plane_toi_with_line, plane_toi_with_ray};
#[cfg(feature = "dim3")]
pub use self::ray_triangle::triangle_ray_intersection;
pub use self::ray_support_map::implicit_toi_and_normal_with_ray;
pub use self::ray_ball::ball_toi_with_ray;
pub use self::ray_bvt::{RayInterferencesCollector, RayIntersectionCostFn};

#[doc(hidden)]
pub mod ray;
mod ray_plane;
mod ray_ball;
mod ray_cuboid;
mod ray_aabb;
mod ray_bounding_sphere;
mod ray_support_map;
#[cfg(feature = "dim3")]
mod ray_triangle;
mod ray_compound;
#[cfg(feature = "dim3")]
mod ray_trimesh;
mod ray_polyline;
mod ray_shape;
mod ray_bvt;