D3DXPLANEDOTCOORD function
Calculate the point of the 3-D vector, the W parameter is set to 1.
definition:
FLOAT D3DXPLANEDOTCOORD (
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 result of the plane and 3-D vector points.
Description:
If the planar equation coefficient is (A, B, C, D), and 3-D vectors are (x, y, z), then the return value is calculated by the following formula: a * x b * y c * z D * 1. The D3DXPlanedotcoord function can be used to detect the relationship between the plane and 3-D vector.
Function information:
HEADER
D3DX9Math.h
Import Library
D3DX9.LIB
Minimum operation systems
WINDOWS 98
related functions:
D3DXPLANEDOT, D3DXPLANEDOTNORMAL