summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gfx/gl/transform.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx/gl/transform.cpp b/gfx/gl/transform.cpp
index b67bfaf..b7230f7 100644
--- a/gfx/gl/transform.cpp
+++ b/gfx/gl/transform.cpp
@@ -11,7 +11,7 @@ Transform::GetModel() const
const auto rotX = glm::rotate(rot.x, glm::vec3(1.0, 0.0, 0.0));
const auto rotY = glm::rotate(rot.y, glm::vec3(0.0, 1.0, 0.0));
const auto rotZ = glm::rotate(rot.z, glm::vec3(0.0, 0.0, 1.0));
- const auto rotMat = rotX * rotY * rotZ;
+ const auto rotMat = rotY * rotX * rotZ;
return posMat * rotMat * scaleMat;
}