D3DXVec4LengthSq
Microsoft DirectX 9.0 SDK Update (October 2004)

D3DXVec4LengthSq Function


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

Syntax

FLOAT D3DXVec4LengthSq(      

    CONST D3DXVECTOR4 *pV );

Parameters

pV
[in] Pointer to the source D3DXVECTOR4 structure.

Return Value

The vector's squared length.



Function Information

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

See Also

D3DXVec4Length


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.