D3DXVec2Length function
Note
The D3DX utility library is deprecated. We recommend that you use DirectXMath instead.
Returns the length of a 2D vector.
Syntax
FLOAT D3DXVec2Length(
_In_ const D3DXVECTOR2 *pV
);
Parameters
-
pV [in]
-
Type: const D3DXVECTOR2*
Pointer to the source D3DXVECTOR2 structure.
Return value
Type: FLOAT
The vector's length.
Requirements
Requirement | Value |
---|---|
Header |
|
Library |
|
See also