Function XMVector2TransformNormal

Source
pub fn XMVector2TransformNormal(V: FXMVECTOR, M: FXMMATRIX) -> FXMVECTOR
Expand description

Transforms a 2D vector by a matrix.

§Parameters

V 2D normal vector.

M Transformation matrix.

§Return value

Returns the transformed vector.

§Remarks

XMVector2TransformNormal uses row 0 and 1 of the input transformation matrix for rotation and scaling. Rows 2 and 3 are ignored.

§Reference

https://docs.microsoft.com/en-us/windows/win32/api/directxmath/nf-directxmath-XMVector2TransformNormal