D3DXQuaternionDot

Returns the dot product of two quaternions.

FLOAT D3DXQuaternionDot(
  CONST D3DXQUATERNION * pQ1,
  CONST D3DXQUATERNION * pQ2
);

Parameters

pQ1
[in] Pointer to a source D3DXQUATERNION structure.
pQ2
[in] Pointer to a source D3DXQUATERNION structure.

Return Values

The dot product of two quaternions.

Remarks

Use D3DXQuaternionNormalize for any quaternion input that is not already normalized.

Requirements

Header: Declared in D3dx9math.h.