Function nalgebra_glm::rotate_vec4

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

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