pub fn distance(a: &ConvexShape, b: &ConvexShape, tolerance: Scalar) -> ScalarExpand description
Shortest distance between two convex shapes, or zero if they overlap.
Convenience over separation for callers that only need the number.
pub fn distance(a: &ConvexShape, b: &ConvexShape, tolerance: Scalar) -> ScalarShortest distance between two convex shapes, or zero if they overlap.
Convenience over separation for callers that only need the number.