D3DXPLANEFROMPOINTNORMAL function

xiaoxiao2021-03-06  93

D3DXPLANEFROMPOINTNORMAL function

Create a flat equation from a point and a normal.

definition:

D3DXPLANE * WINAPI D3DXPLANEFROMPOINTNORMAL

D3DXPLANE * Pout,

Const d3dxvector3 * ppoint,

Const d3dxvector3 * pnormal

);

parameter:

pout

[IN, OUT] points to the operation result of the D3DXPLANE structure.

ppoint

[in] points to the point vector of the D3DXVector3 structure to create a flat equation.

pnormal

[in] Pointing the normal vector of the D3DXVector3 structure, the normal direction of the plane to create.

return value:

Point to the plane of the D3DXPlane structure created by points and normal.

Description:

The function return value is the same as the POUT parameter. This allows the function D3DXPLANEFROMPOINTNORMAL to use parameters of other functions.

Function information:

HEADER

D3DX9Math.h

Import Library

D3DX9.LIB

Minimum operation systems

WINDOWS 98

related functions:

D3DXPLANEFROMPOINTS

转载请注明原文地址:https://www.9cbs.com/read-107595.html

New Post(0)