Finds the intersection of two planes.
void XMPlaneIntersectPlane(
XMVECTOR *pLinePoint1,
XMVECTOR *pLinePoint2,
XMVECTOR P1,
XMVECTOR P2
)
pLinePoint1
Type: XMVECTOR *
[out]
Address of a 3D vector describing one point on the line of intersection. See remarks.
pLinePoint2
Type: XMVECTOR *
[out]
Address of a 3D vector describing a second point on the line of intersection. See remarks.
P1
Type: XMVECTOR
[in]
XMVECTOR describing the plane coefficients (A, B, C, D) for the plane equation Ax+By+Cz+D=0.
P2
Type: XMVECTOR
[in]
XMVECTOR describing the plane coefficients (A, B, C, D) for the plane equation Ax+By+Cz+D=0.
If the planes are parallel to one another, all components of the returned point vectors are equal to QNaN.
Header: Declared in directxmath.h.