D3DXVec2Dot fonction)

Détermine le produit scalaire de deux vecteurs 2D.

Syntaxe

FLOAT D3DXVec2Dot(
  _In_ const D3DXVECTOR2 *pV1,
  _In_ const D3DXVECTOR2 *pV2
);

Paramètres

pV1 [ dans]

Type : const D3DXVECTOR2 *

Pointeur vers une structure D3DXVECTOR2 source.

pV2 [ dans]

Type : const D3DXVECTOR2 *

Pointeur vers une structure D3DXVECTOR2 source.

Valeur de retour

Type : float

Produit scalaire.

Spécifications

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

Voir aussi

Fonctions mathématiques

D3DXVec2CCW