D3DXVec2LengthSq fonction)

Retourne le carré de la longueur d’un vecteur 2D.

Syntaxe

FLOAT D3DXVec2LengthSq(
  _In_ const D3DXVECTOR2 *pV
);

Paramètres

PV [ dans]

Type : const D3DXVECTOR2 *

Pointeur vers la structure D3DXVECTOR2 source.

Valeur retournée

Type : float

Longueur au carré du vecteur.

Configuration requise

Condition requise Valeur
En-tête
D3dx9math. h
Bibliothèque
D3dx9. lib

Voir aussi

Fonctions mathématiques

D3DXVec2Length