Microsoft DirectX 8.0 (C++)

D3DXPlaneTransform

Transforms a plane by a given matrix.

D3DXPLANE* D3DXPlaneTransform(
  D3DXPLANE* pOut,
  CONST D3DXPLANE* pP,
  CONST D3DXMATRIX* pM
); 

Parameters

pOut
[in, out] Pointer to the D3DXPLANE structure that is the result of the operation.
pP
[in] Pointer to the source D3DXPLANE structure.
pM
[in] Pointer to the source D3DXMATRIX structure.

Return Values

Pointer to a D3DXPLANE structure, representing the transformed plane.

Remarks

The matrix, pM, must be an affine transform.

The return value for this function is the same value returned in the pOut parameter. In this way, the D3DXPlaneTransform function can be used as a parameter for another function.

Requirements

  Header: Declared in D3dx8math.h.
  Import Library: Use D3dx8.lib.