Correcting camera orientation

This commit is contained in:
Dynamitos committed 2025-04-12 14:24:05 +02:00
1 parent 9ac3755ad3
commit 32ad82dbd2
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -51,7 +51,7 @@ void Transform::setScale(Vector s) { scale = Vector4(s, 0); }
Vector Transform::getForward() const { return glm::normalize(Vector(0, 0, 1) * rotation); }
Vector Transform::getRight() const { return glm::normalize(Vector(1, 0, 0) * rotation); }
Vector Transform::getRight() const { return glm::normalize(Vector(-1, 0, 0) * rotation); }
Vector Transform::getUp() const { return glm::normalize(Vector(0, 1, 0) * rotation); }