Function physx_sys::PxVec3_normalizeSafe_mut
source · pub unsafe extern "C" fn PxVec3_normalizeSafe_mut(
self_: *mut PxVec3
) -> f32
Expand description
normalizes the vector in place. Does nothing if vector magnitude is under PX_NORMALIZATION_EPSILON. Returns vector magnitude if >= PX_NORMALIZATION_EPSILON and 0.0f otherwise.