D3DXVec4LengthSq

Returns the square of the length of a 4D vector.

FLOAT D3DXVec4LengthSq(
  CONST D3DXVECTOR4 * pV
);

Parameters

pV
[in] Pointer to the source D3DXVECTOR4 structure.

Return Values

The vector's squared length.

Requirements

Header: Declared in D3dx9math.h.

See Also

D3DXVec4Length