[][src]Function directx_math::XMVector3TransformNormal

pub fn XMVector3TransformNormal(V: FXMVECTOR, M: FXMMATRIX) -> FXMVECTOR

Transforms the 3D vector normal by the given matrix.

Parameters

V 3D normal vector.

M Transformation matrix.

Return value

Returns the transformed vector.

Remarks

XMVector3TransformNormal performs transformations using the input matrix rows 0, 1, and 2 for rotation and scaling, and ignores row 3.

Reference

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