D3DRMMatrixFromQuaternion

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

void D3DRMMatrixFromQuaternion (
D3DRMMATRIX4D mat,
LPD3DRMQUATERNION lpquat
);

Parameters

mat

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

lpquat

Address of the D3DRMQUATERNION structure.

Return Values

No return value.