Function directx_math::XMVector2TransformNormal [−][src]
pub fn XMVector2TransformNormal(V: FXMVECTOR, M: FXMMATRIX) -> FXMVECTOR
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.