some things work, others dont

This commit is contained in:
Dynamitos committed 2025-09-27 22:29:04 +02:00
1 parent a2f1e0bd8c
commit 9f9663fb47
5 files changed
+11 -9

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ Matrix4 Seele::perspectiveProjection(float fov, float aspect, float nearPlane, f
},
{
0.0f,
-e,
e,
0.0f,
0.0f,
},
+1 -1
View File
@@ -52,7 +52,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); }