[][src]Function ncollide2d::query::algorithms::gjk::cast_ray

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

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