Function nalgebra_glm::rotate2d[][src]

pub fn rotate2d<N: Real>(m: &TMat3<N>, angle: N) -> TMat3<N>

Builds a 2D rotation matrix from an angle and right-multiply it to m.