Function rotate_vec3

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

Rotate a three dimensional vector around an axis.