D3DXQUATERNIONVERSE function
Conjugate transform and normalizes the quad number.
definition:
D3DXQUATERNION * WINAPI D3DXQUATERNIONVERSE
D3DXQUATERNION * Pout,
Const d3dxquaternion * pq
);
parameter:
pout
[IN, OUT] points to the operation result of the D3DXQUATERNION structure.
PQ
[in] points to the source quad number of D3Dxquaternion.
return value:
Pointing the counter-four yuan of the D3DXQUATERNION structure.
Description:
One unit four-element is defined as follows:
Q == (COS (Theta), SIN (THETA) * V) where | V | = 1
Q 's natural logging is LN (q) = (0, Theta * V)
The function return value is the same as the POUT parameter. This allows the function D3DXQUATERNIONVERSE to be used as a parameter of other functions.
Function information:
HEADER
D3DX9Math.h
Import Library
D3DX9.LIB
Minimum operation systems
WINDOWS 98
related functions:
D3DXQUATERNIONCONJUGATE, D3DXQUATERNONNORMALIZE