From 7a6ccb1399905336bc80608b8fb49bb99d7979cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20A=2E=20Ortega=20Froysa?= Date: Mon, 17 Dec 2018 20:03:07 +0100 Subject: [PATCH] Unimportant, but semantic fix. --- src/System.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/System.cpp b/src/System.cpp index 41afe0a..7bbd805 100644 --- a/src/System.cpp +++ b/src/System.cpp @@ -157,7 +157,7 @@ void System::run() { { // temprary piece model glm::mat4 model = glm::mat4(1.0f); - model *= glm::translate(model, + model = glm::translate(model, glm::vec3((tempx-1) * 3, 2.5f, (tempy-1) * 3)); shaders.at("default").setMat4("model", model); }