Funzione D3DXPlaneFromPoints (D3DX10Math.h)

Nota

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

Costruisce un piano da tre punti.

Sintassi

D3DXPLANE* D3DXPlaneFromPoints(
  _Inout_       D3DXPLANE   *pOut,
  _In_    const D3DXVECTOR3 *pV1,
  _In_    const D3DXVECTOR3 *pV2,
  _In_    const D3DXVECTOR3 *pV3
);

Parametri

pOut [in, out]

Tipo: D3DXPLANE*

Puntatore al D3DXPLANE che è il risultato dell'operazione.

pV1 [in]

Tipo: const D3DXVECTOR3*

Puntatore a un D3DXVECTOR3, definendo uno dei punti usati per costruire il piano.

pV2 [in]

Tipo: const D3DXVECTOR3*

Puntatore a una struttura D3DXVECTOR3, definendo uno dei punti usati per costruire il piano.

pV3 [in]

Tipo: const D3DXVECTOR3*

Puntatore a una struttura D3DXVECTOR3, definendo uno dei punti usati per costruire il piano.

Valore restituito

Tipo: D3DXPLANE*

Puntatore alla struttura D3DXPLANE creata dai punti specificati.

Commenti

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

Requisiti

Requisito Valore
Intestazione
D3DX10Math.h
Libreria
D3DX10.lib

Vedi anche

Funzioni matematiche