D3DXVec2Length
Microsoft DirectX 9.0 SDK Update (October 2004)

D3DXVec2Length Function


Returns the length of a 2-D vector.

Syntax

FLOAT D3DXVec2Length(      

    CONST D3DXVECTOR2 *pV );

Parameters

pV
[in] Pointer to the source D3DXVECTOR2 structure.

Return Value

The vector's length.



Function Information

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

See Also

D3DXVec2LengthSq


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