D3DRMMatrixFromQuaternion

void D3DRMMatrixFromQuaternion (D3DRMMATRIX4D mat,

LPD3DRMQUATERNION lpquat);

Calculates the matrix for the rotation that a unit quaternion represents.

·No return value.

mat

Address that will contain the calculated matrix when the function returns. (The D3DRMMATRIX4D type is an array.)

lpquat

Address of the D3DRMQUATERNION structure.