pub unsafe extern "C" fn b2ShapeDistance(
input: *const b2DistanceInput,
cache: *mut b2SimplexCache,
simplexes: *mut b2Simplex,
simplexCapacity: c_int,
) -> b2DistanceOutputExpand description
Compute the closest points between two shapes represented as point clouds. b2SimplexCache cache is input/output. On the first call set b2SimplexCache.count to zero. The underlying GJK algorithm may be debugged by passing in debug simplexes and capacity. You may pass in NULL and 0 for these.