XMPlaneTransform

Transforms a plane by a given matrix.

Syntax

XMVECTOR XMPlaneTransform(
         XMVECTOR P,
         CXMMATRIX M
)  

Parameters

P
Type: XMVECTOR 

XMVECTOR describing the plane coefficients (A, B, C, D) for the plane equation Ax+By+Cz+D=0.

M
Type: CXMMATRIX 

The inverse transpose of the transformation matrix. For rotation only transforms, this is the same as the original transformation matrix.

Return value

Type: XMVECTOR 

Returns the transformed plane as a 4D vector whose components are the plane coefficients (A, B, C, D) for the plane equation Ax+By+Cz+D=0.

Requirements

Header: Declared in directxmath.h.