Microsoft DirectX 8.1 (C++)

D3DXQuaternionLength

Returns the length of a quaternion.

FLOAT D3DXQuaternionLength(
  CONST D3DXQUATERNION* pQ
); 

Parameters

pQ
[in] Pointer to the source D3DXQUATERNION structure.

Return Values

The quaternion's length.

Requirements

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

See Also

D3DXQuaternionLengthSq