[][src]Function nalgebra_glm::rotation

pub fn rotation<N: Real>(angle: N, v: &TVec3<N>) -> TMat4<N>

A rotation 4 * 4 matrix created from an axis of 3 scalars and an angle expressed in radians.

See also: