Finds the intersection between a plane and a line.
XMVECTOR XM_CALLCONV XMPlaneIntersectLine( FXMVECTOR P, FXMVECTOR LinePoint1, FXMVECTOR LinePoint2 );
XMVECTOR describing the plane coefficients (A, B, C, D) for the plane equation
3D vector describing the first point on the line.
3D vector describing the second point on the line.
Returns the intersection of the plane P and the line defined by LinePoint1 and LinePoint2. If the line is parallel to the plane, all components of the returned vector are equal to QNaN.