Function nalgebra_glm::quat_rotate

source ยท
pub fn quat_rotate<T: RealNumber>(
    q: &Qua<T>,
    angle: T,
    axis: &TVec3<T>,
) -> Qua<T>
Expand description

Builds a quaternion from an axis and an angle, and right-multiply it to the quaternion q.