Function rotate_vec2

Source
pub fn rotate_vec2<T>(
    v: &Matrix<T, Const<2>, Const<1>, ArrayStorage<T, 2, 1>>,
    angle: T,
) -> Matrix<T, Const<2>, Const<1>, ArrayStorage<T, 2, 1>>
where T: RealNumber,
Expand description

Rotate a two dimensional vector.