[−][src]Function ncollide3d::query::algorithms::gjk::directional_distance
pub fn directional_distance<N, G1: ?Sized, G2: ?Sized>(
m1: &Isometry<N>,
g1: &G1,
m2: &Isometry<N>,
g2: &G2,
dir: &Vector<N>,
simplex: &mut VoronoiSimplex<N>
) -> Option<N> where
N: Real,
G1: SupportMap<N>,
G2: SupportMap<N>,
Compute the distance that can travel g1
along the direction dir
so that
g1
and g2
just touch.