nalgebra_glm

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.

m

rotation2d

scale2d

scaling2d

translate2d

translation2d