D3DXPlaneFromPoints
Constructs a plane from three points.
D3DXPLANE * D3DXPlaneFromPoints(
D3DXPLANE * pOut,
CONST D3DXVECTOR3 * pV1,
CONST D3DXVECTOR3 * pV2,
CONST D3DXVECTOR3 * pV3
);
Parameters
- pOut
- [in, out] Pointer to the D3DXPLANE structure that is the result of the operation.
- pV1
- [in] Pointer to a D3DXVECTOR3 structure, defining one of the points used to construct the plane.
- pV2
- [in] Pointer to a D3DXVECTOR3 structure, defining one of the points used to construct the plane.
- pV3
- [in] Pointer to a D3DXVECTOR3 structure, defining one of the points used to construct the plane.
Return Values
Pointer to the D3DXPLANE
structure constructed from the given points.
Remarks
The return value for this function is the same value returned in the
pOut parameter. In this way, the D3DXPlaneFromPoints function can be used as a parameter for another function.
Requirements
Header: Declared in D3dx9math.h.
See Also
D3DXPlaneFromPointNormal