Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Note
The D3DX10 utility library is deprecated. We recommend that you use DirectXMath instead.
Normalizes the plane coefficients so that the plane normal has unit length.
Syntax
D3DXPLANE* D3DXPlaneNormalize(
_Inout_ D3DXPLANE *pOut,
_In_ const D3DXPLANE *pP
);
Parameters
-
pOut [in, out]
-
Type: D3DXPLANE*
Pointer to the D3DXPLANE that is the result of the operation.
-
pP [in]
-
Type: const D3DXPLANE*
Pointer to the source D3DXPLANE structure.
Return value
Type: D3DXPLANE*
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.
Requirements
| Requirement | Value |
|---|---|
| Header |
|
| Library |
|
See also