Function physx_sys::phys_PxShortestRotation
source · pub unsafe extern "C" fn phys_PxShortestRotation(
from: *const PxVec3,
target: *const PxVec3
) -> PxQuat
Expand description
finds the shortest rotation between two vectors.
a rotation about an axis normal to the two vectors which takes one to the other via the shortest path