PxSlerp#
Defined in include/foundation/PxMathUtils.h
- inline PxQuat PxSlerp( )#
Spherical linear interpolation of two quaternions.
- Parameters:
t – [in] is the interpolation parameter in range (0, 1)
left – [in] is the start of the interpolation
right – [in] is the end of the interpolation
- Returns:
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