|Microsoft DirectX 9.0|
Builds a quaternion with the given yaw, pitch, and roll.
D3DXQUATERNION *pOut, FLOAT Yaw, FLOAT Pitch, FLOAT Roll );
- [in, out] Pointer to the D3DXQUATERNION structure that is the result of the operation.
- [in] Yaw around the y-axis, in radians.
- [in] Pitch around the x-axis, in radians.
- [in] Roll around the z-axis, in radians.
Pointer to a D3DXQUATERNION 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 D3DXQuaternionRotationYawPitchRoll function can be used as a parameter for another function.
Header d3dx9math.h Import library d3dx9.lib Minimum operating systems Windows 98