[−][src]Function directx_math::XMPlaneEqual
pub fn XMPlaneEqual(P1: FXMVECTOR, P2: FXMVECTOR) -> bool
Determines if two planes are equal.
Parameters
P1
XMVECTOR describing the plane coefficients (A
, B
, C
, D
) for the plane equation Ax+By+Cz+D=0
.
P2
XMVECTOR describing the plane coefficients (A
, B
, C
, D
) for the plane equation Ax+By+Cz+D=0
.
Return value
Returns true
if the two planes are equal and false
otherwise.
Remarks
The following pseudocode demonstrates the operation of the function.
return (P1.x == P2.x && P1.y == P2.y && P1.z == P2.z && P1.w == P2.w);
Reference
https://docs.microsoft.com/en-us/windows/win32/api/directxmath/nf-directxmath-XMPlaneEqual