Skip to content

Latest commit

 

History

History
79 lines (50 loc) · 1.31 KB

d3dxvec2lengthsq.md

File metadata and controls

79 lines (50 loc) · 1.31 KB
description ms.assetid title ms.topic ms.date topic_type api_name api_type api_location
Returns the square of the length of a 2D vector.
0ecc40bb-7613-463a-a8a0-5e184feb441f
D3DXVec2LengthSq function (D3dx9math.h)
reference
05/31/2018
APIRef
kbSyntax
D3DXVec2LengthSq
LibDef
d3dx9.lib
d3dx9.dll

D3DXVec2LengthSq function

Note

The D3DX utility library is deprecated. We recommend that you use DirectXMath instead.

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

Syntax

FLOAT D3DXVec2LengthSq(
  _In_ const D3DXVECTOR2 *pV
);

Parameters

pV [in]

Type: const D3DXVECTOR2*

Pointer to the source D3DXVECTOR2 structure.

Return value

Type: FLOAT

The vector's squared length.

Requirements

Requirement Value
Header
D3dx9math.h
Library
D3dx9.lib

See also

Math Functions

D3DXVec2Length