forked from Dynamitos/Seele
some things work, others dont
This commit is contained in:
1 parent
a2f1e0bd8c
commit
9f9663fb47
5 files changed
+11
-9
No files matched your search
@@ -12,7 +12,7 @@ Matrix4 Seele::perspectiveProjection(float fov, float aspect, float nearPlane, f
|
||||
},
|
||||
{
|
||||
0.0f,
|
||||
-e,
|
||||
e,
|
||||
0.0f,
|
||||
0.0f,
|
||||
},
|
||||
|
||||
@@ -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); }
|
||||
|
||||
|
||||
Reference in new issue
Block a user