D3DXVec3LengthSq fonction)

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

Syntaxe

FLOAT D3DXVec3LengthSq(
  _In_ const D3DXVECTOR3 *pV
);

Paramètres

PV [ dans]

Type : const D3DXVECTOR3 *

Pointeur vers la structure D3DXVECTOR3 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

D3DXVec3Length