D3DXVec4Length fonction)

Retourne la longueur d’un vecteur 4D.

Syntaxe

FLOAT D3DXVec4Length(
  _In_ const D3DXVECTOR4 *pV
);

Paramètres

PV [ dans]

Type : const D3DXVECTOR4 *

Pointeur vers la structure D3DXVECTOR4 source.

Valeur renvoyée

Type : float

Longueur du vecteur.

Configuration requise

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

Voir aussi

Fonctions mathématiques

D3DXVec4LengthSq