Microsoft DirectX 8.1 (C++)

D3DXVec4Length

Returns the length of a 4-D vector.

FLOAT D3DXVec4Length(
  CONST D3DXVECTOR4* pV
); 

Parameters

pV
[in] Pointer to the source D3DXVECTOR4 structure.

Return Values

The vector's length.

Requirements

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

See Also

D3DXVec4LengthSq