Function ncollide3d::query::algorithms::gjk::closest_points[][src]

pub fn closest_points<N, G1: ?Sized, G2: ?Sized>(
    m1: &Isometry<N>,
    g1: &G1,
    m2: &Isometry<N>,
    g2: &G2,
    max_dist: N,
    exact_dist: bool,
    simplex: &mut VoronoiSimplex<N>
) -> GJKResult<N> where
    N: RealField,
    G1: SupportMap<N>,
    G2: SupportMap<N>, 

Projects the origin on a shape using the Separating Axis GJK algorithm. The algorithm will stop as soon as the polytope can be proven to be at least max_dist away from the origin.

Arguments: