Skip to content

Latest commit

 

History

History
92 lines (57 loc) · 1.87 KB

d3d10-d3dxplanenormalize.md

File metadata and controls

92 lines (57 loc) · 1.87 KB
description ms.assetid title ms.topic ms.date topic_type api_name api_type api_location
D3DXPlaneNormalize function (D3DX10Math.h) - Normalizes the plane coefficients so that the plane normal has unit length.
52ae36a7-e37b-457a-9832-e62900a85bde
D3DXPlaneNormalize function (D3DX10Math.h)
reference
05/31/2018
APIRef
kbSyntax
D3DXPlaneNormalize
LibDef
D3DX10.lib
D3DX10.dll

D3DXPlaneNormalize function (D3DX10Math.h)

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
D3DX10Math.h
Library
D3DX10.lib

See also

Math Functions