Function physx_sys::PxBounds3_closestPoint
source · pub unsafe extern "C" fn PxBounds3_closestPoint(
self_: *const PxBounds3,
p: *const PxVec3
) -> PxVec3
Expand description
Finds the closest point in the box to the point p. If p is contained, this will be p, otherwise it will be the closest point on the surface of the box.