Fix the projection stuff

Geometry also in window coordinates, just to make things easier...
This commit is contained in:
Eryn Wells 2018-10-13 21:29:38 -07:00
parent 63faef4028
commit 3399bbcd53
2 changed files with 19 additions and 20 deletions

View file

@ -70,7 +70,7 @@ extension Matrix4x4 {
Float4(0.0, 0.0, -2.0 / (far - near), -(far + near) / (far - near)),
Float4(0.0, 0.0, 0.0, 1.0)
]
return Matrix4x4(rows)
return Matrix4x4(rows: rows)
}
}