[−][src]Function ncollide2d::query::proximity
pub fn proximity<N: RealField>(
m1: &Isometry<N>,
g1: &dyn Shape<N>,
m2: &Isometry<N>,
g2: &dyn Shape<N>,
margin: N
) -> Proximity
Tests whether two shapes are in intersecting or separated by a distance smaller than margin
.