D3DXQUATERNIONLN function
Calculate natural logarithm.
definition:
D3DXQUATERNION * WINAPI D3DXQUATERNONONLN (
D3DXQUATERNION * Pout,
Const d3dxquaternion * pq
);
parameter:
pout
[IN, OUT] points to the operation result of the D3DXQUATERNION structure.
PQ
[in] Points to the source of the D3DXQUATERNION structure.
return value:
Point the four-dimensional natural logarithm of the D3Dxquaternion structure.
Description:
Functions D3DXQUATERNONONLN can only calculate natural logarithm of the unit quad number:
If the number of quad numbers is:
Q == (COS (Theta), SIN (THETA) * V) where | V | = 1
Then the natural logarithm of Q is LN (Q) = (0, Theta * V)
The function return value is the same as the POUT parameter. This allows the function D3DxQuaterNionLn to use parameters of other functions.
Function information:
HEADER
D3DX9Math.h
Import Library
D3DX9.LIB
Minimum operation systems
WINDOWS 98
Function related:
D3DXQUATERNIONEXP, D3DXQUATERNIONSQUAD