Function rotate_vec4

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

Rotate a thee dimensional vector in homogeneous coordinates around an axis.