func makeZRotMatrix(angle float32, m *mathgl.Mat4) { c := float32(math.Cos(float64(angle) * math.Pi / 180.0)) s := float32(math.Sin(float64(angle) * math.Pi / 180.0)) m.Identity() m[0] = c m[1] = s m[4] = -s m[5] = c }