D3DXPLANEDOTNORMAL function
Calculate the plane of the 3-D vector. And W is 0 in the plane coefficient.
definition:
FLOAT D3DXPLANEDOTNORMAL
Const D3DXPlane * PP,
Const D3DXVector3 * PV
);
parameter:
PP
[in] points to the planar equation coefficient of the D3DXPLANE structure.
PV
[in] Pointing vector of D3DXVector3 structure.
return value:
The return structure is a point of plane and 3-D vector.
Description:
If the planar equation coefficient is (A, B, C, D), 3-D vector is (x, y, z), then the result is calculated using the following formula: a * x b * y c * z D * 0. The D3DXPlanedotNormal function is used to calculate the plane of the plane normal and vector.
Function information:
HEADER
D3DX9Math.h
Import Library
D3DX9.LIB
Minimum operation systems
WINDOWS 98
related functions:
D3DXPLANEDOT, D3DXPLANEDOTCOORD