D3DRMQuaternionMultiply

Calculates the product of two quaternion structures.

LPD3DRMQUATERNION D3DRMQuaternionMultiply(
LPD3DRMQUATERNION lpq,
LPD3DRMQUATERNION lpa,
LPD3DRMQUATERNION lpb
);

Parameters

lpq

Address of the D3DRMQUATERNION structure that will contain the product of the multiplication.

lpa and lpb

Addresses of the D3DRMQUATERNION structures that will be multiplied together.

Return Values

Returns the address of the quaternion that was passed as the first parameter if successful, or zero otherwise.