Microsoft DirectX 8.1 (Visual Basic)

D3DXPlaneFromPointNormal

Constructs a plane from a point and a normal.

D3DXPlaneFromPointNormal( _ 
    POut As D3DPLANE, _ 
    VPoint As D3DVECTOR, _ 
    vNormal As D3DVECTOR)

Parameters

POut
D3DPLANE type that is the result of the operation, a plane constructed from the point and the normal.
VPoint
D3DVECTOR type, defining the point used to construct the plane.
vNormal
D3DVECTOR type, defining the normal used to construct the plane.

Error Codes

If the function fails, an error is raised and Err.Number can be set to one of the following values.

D3DERR_INVALIDCALL
D3DERR_OUTOFVIDEOMEMORY

For information on trapping errors, see the Microsoft® Visual Basic® Error Handling topic.

See Also

D3DXPlaneFromPoints