Fix the projection stuff
Geometry also in window coordinates, just to make things easier...
This commit is contained in:
parent
63faef4028
commit
3399bbcd53
2 changed files with 19 additions and 20 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue