D3DXVec3Length function

Returns the length of a 3D vector.

Syntax


FLOAT D3DXVec3Length(
  _In_ const D3DXVECTOR3 *pV
);

Parameters

pV [in]

Type: const D3DXVECTOR3*

Pointer to the source D3DXVECTOR3 structure.

Return value

Type: FLOAT

The vector's length.

Requirements

Header

D3dx9math.h

Library

D3dx9.lib

See also

Math Functions
D3DXVec3LengthSq

 

 

Show: