D3DXVec2Length

Returns the length of a 2D vector.

FLOAT D3DXVec2Length(
  CONST D3DXVECTOR2 * pV
);

Parameters

pV
[in] Pointer to the source D3DXVECTOR2 structure.

Return Values

The vector's length.

Requirements

Header: Declared in D3dx9math.h.

See Also

D3DXVec2LengthSq