Provides addresses of setup control points for spherical quadrangle interpolation.
void XMQuaternionSquadSetup(
XMVECTOR *pA,
XMVECTOR *pB,
XMVECTOR *pC,
XMVECTOR Q0,
XMVECTOR Q1,
XMVECTOR Q2,
GXMVECTOR Q3
)
pA
Type: XMVECTOR *
[out]
Address of first setup quaternion.
pB
Type: XMVECTOR *
[out]
Address of first setup quaternion.
pC
Type: XMVECTOR *
[out]
Address of first setup quaternion.
Q0
Type: XMVECTOR
[in]
First quaternion.
Q1
Type: XMVECTOR
[in]
Second quaternion.
Q2
Type: XMVECTOR
[in]
Third quaternion.
Q3
Type: GXMVECTOR
[in]
Fourth quaternion.
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.
The results returned in pA, pB, and pC are used as the inputs to the Q1, Q2, and Q3 parameters of XMQuaternionSquad.
Header: Declared in directxmath.h.