?/TD> |
Microsoft DirectX 9.0 |
Normalizes the plane coefficients so that the plane normal has unit length.
Syntax
D3DXPLANE *D3DXPlaneNormalize(
D3DXPLANE *pOut, CONST D3DXPLANE *pP );
Parameters
- pOut
- [in, out] Pointer to the D3DXPLANE structure that is the result of the operation.
- pP
- [in] Pointer to the source D3DXPLANE structure.
Return Value
Pointer to a D3DXPLANE structure that represents the normal of the plane.
Remarks
This function 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, this function can be used as a parameter for another function.
Function Information
Header d3dx9math.h Import library d3dx9.lib Minimum operating systems Windows 98