Microsoft DirectX 8.1 (C++) |
Builds a matrix that rotates around an arbitrary axis.
D3DXMATRIX* D3DXMatrixRotationAxis( D3DXMATRIX* pOut, CONST D3DXVECTOR3* pV, FLOAT Angle );
Pointer to a D3DXMATRIX structure rotated around the specified axis.
The return value for this function is the same value returned in the pOut parameter. In this way, the D3DXMatrixRotationAxis function can be used as a parameter for another function.
Header: Declared in D3dx8math.h.
Import Library: Use D3dx8.lib.
D3DXMatrixRotationQuaternion, D3DXMatrixRotationX, D3DXMatrixRotationY, D3DXMatrixRotationYawPitchRoll, D3DXMatrixRotationZ