Function nalgebra_glm::quat_rotate [−][src]
pub fn quat_rotate<T: RealField>(
q: &Qua<T>,
angle: T,
axis: &TVec3<T>
) -> Qua<T>
Builds a quaternion from an axis and an angle, and right-multiply it to the quaternion q
.
pub fn quat_rotate<T: RealField>(
q: &Qua<T>,
angle: T,
axis: &TVec3<T>
) -> Qua<T>
Builds a quaternion from an axis and an angle, and right-multiply it to the quaternion q
.