phys_PxSlerp

Function 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 < 1. Returns angle between -PI and PI in radians