Microsoft DirectX 8.1 (C++) |
Builds a matrix with a specified yaw, pitch, and roll.
D3DXMATRIX* D3DXMatrixRotationYawPitchRoll( D3DXMATRIX* pOut, FLOAT Yaw, FLOAT Pitch, FLOAT Roll );
Pointer to a D3DXMATRIX structure with the specified yaw, pitch, and roll.
The return value for this function is the same value returned in the pOut parameter. In this way, the D3DXMatrixRotationYawPitchRoll function can be used as a parameter for another function.
Header: Declared in D3dx8math.h.
Import Library: Use D3dx8.lib.
D3DXMatrixRotationAxis, D3DXMatrixRotationQuaternion, D3DXMatrixRotationX, D3DXMatrixRotationY, D3DXMatrixRotationZ