Unimportant, but semantic fix.

This commit is contained in:
Nicolás A. Ortega Froysa 2018-12-17 20:03:07 +01:00
parent acff4fc4f6
commit 7a6ccb1399

View File

@ -157,7 +157,7 @@ void System::run() {
{ {
// temprary piece model // temprary piece model
glm::mat4 model = glm::mat4(1.0f); 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)); glm::vec3((tempx-1) * 3, 2.5f, (tempy-1) * 3));
shaders.at("default").setMat4("model", model); shaders.at("default").setMat4("model", model);
} }