Function nalgebra_glm::rotate2d[][src]

pub fn rotate2d<T: RealField>(m: &TMat3<T>, angle: T) -> TMat3<T>
Expand description

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

See also: