Function distance

Source
pub fn distance(a: &ConvexShape, b: &ConvexShape, tolerance: Scalar) -> Scalar
Expand description

Shortest distance between two convex shapes, or zero if they overlap.

Convenience over separation for callers that only need the number.