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); }