Function nalgebra_glm::rotate_vec3

source ·
pub fn rotate_vec3<T: RealNumber>(
    v: &TVec3<T>,
    angle: T,
    normal: &TVec3<T>
) -> TVec3<T>
Expand description

Rotate a three dimensional vector around an axis.