D3DXQUATERNIONROTAXIS function
Create a quad number that rotates around any axis.
definition:
D3DXQUATERNION * WINAPI D3DXQUATERNONROTATATAXIS (
D3DXQUATERNION * Pout,
Const D3DxVector3 * PV,
Float Angle
);
parameter:
pout
[IN, OUT] points to the operation result of the D3DXQUATERNION structure.
PV
[in] points to the four-dimensional rotary axis vector of the D3DXVECTOR3 structure.
Angle
Rotation angle (unit curvature). The clockwise direction is a positive direction when the original is seen from the rotating shaft.
return value:
Point D3DxQuaterNion Structure Rotated Around The Specified Axis.
Description
The function return value is the same as the POUT parameter. This allows the function D3DxQuaterNionRotationAxis to use parameters of other functions.
Function information:
HEADER
D3DX9Math.h
Import Library
D3DX9.LIB
Minimum operation systems
WINDOWS 98
related functions:
D3DXQUATERNIONROTIONMATRIX, D3DXQUATERNONROTATIONYAWPITCHROLL