D3DXMAMATRIXROTIONQUATERNION function
Create a rotation matrix from a four-way group.
definition:
D3DXMAMATRIX * WINAPI D3DXMATRIXROTIONQUATERNION (
D3DXMAMATRIX * POUT,
Const d3dxquaternion * pq
);
parameter:
pout
[IN, OUT] points to the operation result matrix of the D3DXMatrix structure.
PQ
[in] points to the four groups of D3Dxquaternion structure.
return value:
Point to the rotation matrix of D3DXMatrix created from the four-tuple group.
Description:
The function return value is the same as the POUT parameter. This allows the function D3DXMatrixRotationQuaterNion to use parameters of other functions.
Want to know how to calculate the quallogram from the vector (x, y, z) and angle, you can see the structure D3DXQUATERNION related content.
Function information:
HEADER
D3DX9Math.h
Import Library
D3DX9.LIB
Minimum operation systems
WINDOWS 98
related functions:
D3DXMAMATRIXROTATIONXIS, D3DXMATRIXROTIONX, D3DXMATRIXROTIONY, D3DXMATRIXROTIONY, D3DXMATRIXROTIONYAWPITCHROLL, D3DXMATRIXROTIONZ