Determines if two planes are unequal.
bool XMPlaneNotEqual(
XMVECTOR P1,
XMVECTOR P2
)
P1
Type: XMVECTOR
XMVECTOR describing the plane coefficients (A, B, C, D) for the plane equation
return (P1.x != P2.x || P1.y != P2.y || P1.z != P2.z || P1.w != P2.w);
.
P2
Type: XMVECTOR
XMVECTOR describing the plane coefficients (A, B, C, D) for the plane equation Ax+By+Cz+D=0.
Type: bool
Returns true if the two planes are unequal and false otherwise.
The following pseudocode demonstrates the operation of the function.
Ax+By+Cz+D=0
Header: Declared in directxmath.h.