Platform SDK: DirectX |
The DirectX7.MatrixFromQuaternion method calculates the matrix for the rotation that a unit quaternion represents.
object.MatrixFromQuaternion(matrix As D3DMATRIX, _ quat As D3DRMQUATERNION)
If the method fails, an error is raised and Err.Number is set.