ncollide3d::query::algorithms::gjk

Function cast_ray

Source
pub fn cast_ray<N, G>(
    m: &Isometry<N>,
    shape: &G,
    simplex: &mut VoronoiSimplex<N>,
    ray: &Ray<N>,
    max_toi: N,
) -> Option<(N, Vector<N>)>
where N: RealField + Copy, G: SupportMap<N> + ?Sized,
Expand description

Casts a ray on a support map using the GJK algorithm.