D3DXPLANEINTERSECTLINE function

xiaoxiao2021-03-06  97

D3DXPLANEINTERSECTLINE function

Find out the straight line with plane.

definition:

D3DXVECTOR3 * WINAPI D3DXPLANEINTERSECTLINE

D3DXVECTOR3 * Pout,

Const D3DXPlane * PP,

Const d3dxvector3 * pv1,

Const D3DXVector3 * PV2

);

parameter:

pout

[in, out] Points to the vector of the D3DXVector3 structure, is the vector of the flat with straight.

PP

[in] Points to the planar equation of the D3DXPLANE structure.

PV1

[in] points to the straight line starting point vector of the D3DxVector3 structure.

PV2

[in] Point linear endpoint vector for D3DXVECTOR3 structure.

return value:

Distort point vector pointing to the plane with straight lines of D3DxVector3 structure.

Description:

Returns NULL if the straight line is parallel to the plane.

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

Function information:

HEADER

D3DX9Math.h

Import Library

D3DX9.LIB

Minimum operation systems

WINDOWS 98

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

New Post(0)