Click to Rate and Give Feedback
MSDN
MSDN Library
DirectX
SDK Documentation
DirectX Graphics
Direct3D 9
Reference
D3DX Reference
Functions
Math Functions
 D3DXPlaneNormalize

  Switch on low bandwidth view
D3DXPlaneNormalize
Bb205392.XDK_CHM_BANNER_left(en-us,VS.85).jpgBb205392.XDK_CHM_BANNER_right(en-us,VS.85).jpg

D3DXPlaneNormalize

Normalizes the plane coefficients so that the plane normal has unit length.

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 Values

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

Header: Declared in D3dx9math.h.

Library: Use D3dx9.lib.

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker