Function nalgebra_glm::rotate_vec3[][src]

pub fn rotate_vec3<N: Real>(
    v: &TVec3<N>,
    angle: N,
    normal: &TVec3<N>
) -> TVec3<N>

Rotate a three dimensional vector around an axis.