Function nalgebra_glm::rotate2d

source ·
pub fn rotate2d<T: RealNumber>(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: