D3DXPLANE structure (D3dx9math.h)
Note
The D3DX utility library is deprecated. We recommend that you use DirectXMath instead.
Describes a plane.
Syntax
typedef struct D3DXPLANE {
FLOAT a;
FLOAT b;
FLOAT c;
FLOAT d;
} D3DXPLANE, *LPD3DXPLANE;
Members
-
a
-
Type: FLOAT
-
The a coefficient of the clipping plane in the general plane equation. See Remarks.
-
b
-
Type: FLOAT
-
The b coefficient of the clipping plane in the general plane equation. See Remarks.
-
c
-
Type: FLOAT
-
The c coefficient of the clipping plane in the general plane equation. See Remarks.
-
d
-
Type: FLOAT
-
The d coefficient of the clipping plane in the general plane equation. See Remarks.
Remarks
The members of the D3DXPLANE structure take the form of the general plane equation. They fit into the general plane equation so that ax + by + cz + dw = 0.
C++ programmers can take advantage of operator overloading and type casting with the D3DXPLANE Extensions which implement overloaded constructors and assignment, unary, and binary (including equality) operators.
Requirements
Requirement | Value |
---|---|
Header |
|
See also