D3DXPlaneFromPointNormal
Microsoft DirectX 9.0 SDK Update (October 2004)

D3DXPlaneFromPointNormal Function


Constructs a plane from a point and a normal.

Syntax

D3DXPLANE *WINAPI D3DXPlaneFromPointNormal(      

    D3DXPLANE *pOut,     CONST D3DXVECTOR3 *pPoint,     CONST D3DXVECTOR3 *pNormal );

Parameters

pOut
[in, out] Pointer to the D3DXPLANE structure that is the result of the operation.
pPoint
[in] Pointer to a D3DXVECTOR3 structure, defining the point used to construct the plane.
pNormal
[in] Pointer to a D3DXVECTOR3 structure, defining the normal used to construct the plane.

Return Value

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.

Function Information

Headerd3dx9math.h
Import libraryd3dx9.lib
Minimum operating systems Windows 98

See Also

D3DXPlaneFromPoints


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.