Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

D3DXVec3LengthSq function

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

Syntax


FLOAT D3DXVec3LengthSq(
  _In_ const D3DXVECTOR3 *pV
);

Parameters

pV [in]

Type: const D3DXVECTOR3*

Pointer to the source D3DXVECTOR3 structure.

Return value

Type: FLOAT

The vector's squared length.

Requirements

Header

D3dx9math.h

Library

D3dx9.lib

See also

D3DXVec3Length

 

 

Community Additions

ADD
Show:
© 2015 Microsoft