[−][src]Function directx_math::XMPlaneIntersectPlane
pub fn XMPlaneIntersectPlane(
pLinePoint1: &mut FXMVECTOR,
pLinePoint2: &mut FXMVECTOR,
P1: FXMVECTOR,
P2: FXMVECTOR
)
Finds the intersection of two planes.
Parameters
pLinePoint1
Address of a 3D vector describing one point on the line of intersection. See remarks.
pLinePoint2
Address of a 3D vector describing a second point on the line of intersection. See remarks.
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
None.
Remarks
If the planes are parallel to one another, all components of the returned point vectors are equal to QNaN.
Reference
https://docs.microsoft.com/en-us/windows/win32/api/directxmath/nf-directxmath-XMPlaneIntersectPlane