Function nalgebra_glm::rotation
source · [−]pub fn rotation<T: RealNumber>(angle: T, v: &TVec3<T>) -> TMat4<T>
Expand description
A rotation 4 * 4 matrix created from an axis of 3 scalars and an angle expressed in radians.
pub fn rotation<T: RealNumber>(angle: T, v: &TVec3<T>) -> TMat4<T>
A rotation 4 * 4 matrix created from an axis of 3 scalars and an angle expressed in radians.