Function physx_sys::phys_PxSlerp

source ·
pub unsafe extern "C" fn phys_PxSlerp(
    t: f32,
    left: *const PxQuat,
    right: *const PxQuat
) -> PxQuat
Expand description

Spherical linear interpolation of two quaternions.

Returns left when t=0, right when t=1 and a linear interpolation of left and right when 0 < t <

Returns angle between -PI and PI in radians