Function physx_sys::phys_PxComputeBasisVectors_1
source · pub unsafe extern "C" fn phys_PxComputeBasisVectors_1(
p0: *const PxVec3,
p1: *const PxVec3,
dir: *mut PxVec3,
right: *mut PxVec3,
up: *mut PxVec3
)
Expand description
Compute three normalized vectors (dir, right and up) that are parallel to (dir) and perpendicular to (right, up) the normalized direction vector (p1 - p0)/||p1 - p0||.