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.
pub fn rotate_vec3<T: RealNumber>(
v: &TVec3<T>,
angle: T,
normal: &TVec3<T>,
) -> TVec3<T>
Rotate a three dimensional vector around an axis.