?/TD>
Microsoft DirectX 9.0

D3DXVec3LengthSq Function


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

Syntax

FLOAT D3DXVec3LengthSq(      

    CONST D3DXVECTOR3 *pV );

Parameters

pV
[in] Pointer to the source D3DXVECTOR3 structure.

Return Value

The vector's squared length.



Function Information

Headerd3dx9math.h
Import libraryd3dx9.lib
Minimum operating systems Windows 98

See Also

D3DXVec3Length


© 2002 Microsoft Corporation. All rights reserved.