Function physx_sys::phys_PxEllipseClamp
source · pub unsafe extern "C" fn phys_PxEllipseClamp(
point: *const PxVec3,
radii: *const PxVec3
) -> PxVec3
Expand description
Compute the closest point on an 2d ellipse to a given 2d point.
Returns the 2d position on the surface of the ellipse that is closest to point.