Export (0) Print
Expand All
Expand Minimize

D3DXPlaneFromPointNormal function

Constructs a plane from a point and a normal.

Syntax


D3DXPLANE* D3DXPlaneFromPointNormal(
  _Inout_  D3DXPLANE *pOut,
  _In_     const D3DXVECTOR3 *pPoint,
  _In_     const D3DXVECTOR3 *pNormal
);

Parameters

pOut [in, out]

Type: D3DXPLANE*

Pointer to the D3DXPLANE structure that is the result of the operation.

pPoint [in]

Type: const D3DXVECTOR3*

Pointer to a D3DXVECTOR3 structure, defining the point used to construct the plane.

pNormal [in]

Type: const D3DXVECTOR3*

Pointer to a D3DXVECTOR3 structure, defining the normal used to construct the plane.

Return value

Type: D3DXPLANE*

Pointer to the D3DXPLANE structure constructed from the point and the normal.

Remarks

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

Requirements

Header

D3dx9math.h

Library

D3dx9.lib

See also

D3DXPlaneFromPoints

 

 

Community Additions

ADD
Show:
© 2014 Microsoft