Transforms the 3D vector normal by the given matrix.
XMVECTOR XMVector3TransformNormal(
XMVECTOR V,
CXMMATRIX M
)
V
Type: XMVECTOR
3D normal vector.
M
Type: CXMMATRIX
Transformation matrix.
Type: XMVECTOR
Returns the transformed vector.
XMVector3TransformNormal performs transformations using the input matrix rows 0, 1, and 2 for rotation and scaling, and ignores row 3.
Header: Declared in directxmath.h.