Microsoft DirectX 8.1 (C++)

D3DXQuaternionDot

Returns the dot-product of two quaternions.

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

Parameters

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

Return Values

The dot-product of two quaternions.

Requirements

  Header: Declared in D3dx8math.h.
  Import Library: Use D3dx8.lib.