Function ncollide::query::proximity
[−]
[src]
pub fn proximity<P, M>(
m1: &M,
g1: &(Shape<P, M> + 'static),
m2: &M,
g2: &(Shape<P, M> + 'static),
margin: <P as EuclideanSpace>::Real
) -> Proximity where
M: Isometry<P>,
P: Point,
Tests whether two shapes are in intersecting or separated by a distance smaller than margin
.