Transforms the 2D vector normal by the given matrix.
XMVECTOR XMVector2TransformNormal(
XMVECTOR V,
CXMMATRIX M
)
V
Type: XMVECTOR
2D normal vector.
M
Type: CXMMATRIX
Transformation matrix.
Type: XMVECTOR
Returns the transformed vector.
XMVector2TransformNormal uses row 0 and 1 of the input transformation matrix for rotation and scaling. Rows 2 and 3 are ignored.
Header: Declared in directxmath.h.