Fixing perspective matrices

This commit is contained in:
2025-09-07 20:13:26 +02:00
parent e97beda2bc
commit 7d4cd26c31
3 changed files with 3 additions and 5 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ static Matrix4 perspectiveProjection(float fov, float aspect, float nearPlane, f
{
0.0f,
0.0f,
nearPlane / (nearPlane - farPlane),
(nearPlane + farPlane) / (nearPlane - farPlane),
-1.0f,
},
{