[][src]Function directx_math::XMQuaternionSquadSetup

pub fn XMQuaternionSquadSetup(
    pA: &mut XMVECTOR,
    pB: &mut XMVECTOR,
    pC: &mut XMVECTOR,
    Q0: FXMVECTOR,
    Q1: FXMVECTOR,
    Q2: FXMVECTOR,
    Q3: GXMVECTOR
)

Provides addresses of setup control points for spherical quadrangle interpolation.

Parameters

pA Address of first setup quaternion.

pB Address of first setup quaternion.

pC Address of first setup quaternion.

Q0 First quaternion.

Q1 Second quaternion.

Q2 Third quaternion.

Q3 Fourth quaternion.

Remarks

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.

Reference

https://docs.microsoft.com/en-us/windows/win32/api/directxmath/nf-directxmath-XMQuaternionSquadSetup