Function ncollide2d::query::algorithms::gjk::cast_ray
source · [−]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 + Copy,
G: SupportMap<N>,
Expand description
Casts a ray on a support map using the GJK algorithm.