Function ncollide2d::query::proximity[][src]

pub fn proximity<N: Real>(
    m1: &Isometry<N>,
    g1: &Shape<N>,
    m2: &Isometry<N>,
    g2: &Shape<N>,
    margin: N
) -> Proximity

Tests whether two shapes are in intersecting or separated by a distance smaller than margin.