Fonction D3DXVec4Cross (D3dx9math.h)

Notes

La bibliothèque utilitaire D3DX est déconseillée. Nous vous recommandons d’utiliser DirectXMath à la place.

Détermine le produit croisé en quatre dimensions.

Syntaxe

D3DXVECTOR4* D3DXVec4Cross(
  _Inout_       D3DXVECTOR4 *pOut,
  _In_    const D3DXVECTOR4 *pV1,
  _In_    const D3DXVECTOR4 *pV2,
  _In_    const D3DXVECTOR4 *pV3
);

Paramètres

pOut [in, out]

Type : D3DXVECTOR4*

Pointeur vers la structure D3DXVECTOR4 qui est le résultat de l’opération.

pV1 [in]

Type : const D3DXVECTOR4*

Pointeur vers une structure D3DXVECTOR4 source.

pV2 [in]

Type : const D3DXVECTOR4*

Pointeur vers une structure D3DXVECTOR4 source.

pV3 [in]

Type : const D3DXVECTOR4*

Pointeur vers une structure D3DXVECTOR4 source.

Valeur retournée

Type : D3DXVECTOR4*

Pointeur vers une structure D3DXVECTOR4 qui est le produit croisé.

Notes

La valeur de retour pour cette fonction est la même valeur retournée dans le paramètre pOut . De cette façon, la fonction D3DXVec4Cross peut être utilisée comme paramètre pour une autre fonction.

Spécifications

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

Voir aussi

Fonctions mathématiques

D3DXVec4Dot