Funzione D3DXVec4Cross (D3DX10Math.h)

Nota

La libreria di utilità D3DX10 è deprecata. È consigliabile usare invece DirectXMath .

Determina il prodotto incrociato in quattro dimensioni.

Sintassi

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

Parametri

pOut [in, out]

Tipo: D3DXVECTOR4*

Puntatore al D3DXVECTOR4 che è il risultato dell'operazione.

pV1 [in]

Tipo: const D3DXVECTOR4*

Puntatore a una struttura D3DXVECTOR4 di origine.

pV2 [in]

Tipo: const D3DXVECTOR4*

Puntatore a una struttura D3DXVECTOR4 di origine.

pV3 [in]

Tipo: const D3DXVECTOR4*

Puntatore a una struttura D3DXVECTOR4 di origine.

Valore restituito

Tipo: D3DXVECTOR4*

Puntatore a una struttura D3DXVECTOR4 che rappresenta il prodotto incrociato.

Commenti

Il valore restituito per questa funzione è lo stesso valore restituito nel parametro pOut. In questo modo, la funzione D3DXVec4Cross può essere usata come parametro per un'altra funzione.

Requisiti

Requisito Valore
Intestazione
D3DX10Math.h

Vedi anche

Funzioni matematiche