Function rotate2d

Source
pub fn rotate2d<T>(
    m: &Matrix<T, Const<3>, Const<3>, ArrayStorage<T, 3, 3>>,
    angle: T,
) -> Matrix<T, Const<3>, Const<3>, ArrayStorage<T, 3, 3>>
where T: RealNumber,
Expand description

Builds a 2D rotation matrix from an angle and right-multiply it to m.

ยงSee also: