Interpolates between four unit quaternions, using spherical quadrangle interpolation.
XMVECTOR XMQuaternionSquadV(
XMVECTOR Q0,
XMVECTOR Q1,
XMVECTOR Q2,
GXMVECTOR Q3,
XMVECTOR T
)
Q0
Type: XMVECTOR
First unit quaternion.
Q1
Type: XMVECTOR
Second unit quaternion.
Q2
Type: XMVECTOR
Third unit quaternion.
Q3
Type: GXMVECTOR
Fourth unit quaternion.
T
Type: XMVECTOR
Interpolation control factor. All components of this vector must be the same.
Type: XMVECTOR
Returns the interpolated quaternion. If Q0, Q1, Q2, and Q3 are not unit quaternions, the resulting interpolation is undefined.
The DirectXMath quaternion functions use an XMVECTOR 4-vector to represent quaternions, where the X, Y, and Z components are the vector part and the W component is the scalar part.
This function is identical to XMQuaternionSquad except that T is supplied using a 4D vector instead of a float value.
Header: Declared in directxmath.h.