Microsoft DirectX 8.1 (C++)

D3DXQuaternionLengthSq

Returns the square of the length of a quaternion.

FLOAT D3DXQuaternionLengthSq(
  CONST D3DXQUATERNION* pQ
); 

Parameters

pQ
[in] Pointer to the source D3DXQUATERNION structure.

Return Values

The quaternion's squared length.

Requirements

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

See Also

D3DXQuaternionLength