[][src]Function parry3d::query::gjk::directional_distance

pub fn directional_distance<G1: ?Sized, G2: ?Sized>(
    pos12: &Isometry<Real>,
    g1: &G1,
    g2: &G2,
    dir: &Vector<Real>,
    simplex: &mut VoronoiSimplex
) -> Option<(Real, Vector<Real>, Point<Real>, Point<Real>)> where
    G1: SupportMap,
    G2: SupportMap

Compute the normal and the distance that can travel g1 along the direction dir so that g1 and g2 just touch.