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

pub fn cast_ray<N, G>(
    m: &Isometry<N, U2, Unit<Complex<N>>>,
    shape: &G,
    simplex: &mut VoronoiSimplex<N>,
    ray: &Ray<N>,
    max_toi: N
) -> Option<(N, Matrix<N, U2, U1, <DefaultAllocator as Allocator<N, U2, U1>>::Buffer>)> where
    G: SupportMap<N> + ?Sized,
    N: RealField

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