D3DXQUATERNIONSQUAD function
Insert a quad number in the spherical strip.
Syntax
D3DXQUATERNION * WINAPI D3DXQUATERNIONSQUAD
D3DXQUATERNION * Pout,
Const d3dxquaternion * pq1,
Const d3dxquaternion * pa,
Const d3dxquaternion * PB,
Const d3dxquaternion * PC,
Float T
);
parameter:
pout
[IN, OUT] points to the operation result of the D3DXQUATERNION structure.
PQ1
[in] points to the quad number of D3Dxquaternion structure.
PA
[in] points to the quad number of D3Dxquaternion structure.
PB
[in] points to the quad number of D3Dxquaternion structure.
PC
[in] points to the quad number of D3Dxquaternion structure.
t
[IN] Describes how far the quadrietian number is performed.
return value:
Point the spherical quadrangular interpolation of the D3DXQUATERNION structure.
Description:
This function performs spherical interpolation with the following formula: Slerp (Slerp (PQ1, PC, T), Slerp (Pa, Pb, T), 2T (1 - t))
The function return value is the same as the POUT parameter. This allows functions D3DxQuaterNionSquad to use parameters of other functions.
Function information:
HEADER
D3DX9Math.h
Import Library
D3DX9.LIB
Minimum operation systems
WINDOWS 98
related functions:
D3DXQUATERNIONEXP, D3DXQUATERNIONLN, D3DXQUATERNIONSQUADSETUP