Reduce objects

This commit is contained in:
bloeys
2022-02-05 23:13:23 +04:00
parent 56e10049e9
commit 8e96cf7050
2 changed files with 2 additions and 1 deletions

View File

@ -356,7 +356,7 @@ func draw() {
cubeMesh.Buf.Bind()
tempModelMat := modelMat.Clone()
rowSize := 100
rowSize := 10
for y := 0; y < rowSize; y++ {
for x := 0; x < rowSize; x++ {
simpleMat.SetUnifMat4("modelMat", &tempModelMat.Translate(gglm.NewVec3(-1, 0, 0)).Mat4)