Microsoft DirectX 8.1 (C++) |
Returns the normal of a plane.
D3DXPLANE* D3DXPlaneNormalize( D3DXPLANE* pOut, CONST D3DXPLANE* pP );
Pointer to a D3DXPLANE structure, representing the normal of the plane.
D3DXPlaneNormalize normalizes a plane so that |a,b,c| == 1.
The return value for this function is the same value returned in the pOut parameter. In this way, the D3DXPlaneNormalize function can be used as a parameter for another function.
Header: Declared in D3dx8math.h.
Import Library: Use D3dx8.lib.