Skip to content

Commit

Permalink
Properly fix the projection matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
hYdos committed Jul 1, 2021
1 parent 7da147a commit 994707a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ private static void convertAndSetProjection(Matrix4f matrix4f, CallbackInfo ci)
matrix4f.a32, //0
matrix4f.a03, //2
-matrix4f.a13, //2
(matrix4f.a23 + 1) / 2.0F, //2
(matrix4f.a23) / 2.0F, //2
matrix4f.a33 //1
);
ci.cancel();
Expand Down

0 comments on commit 994707a

Please sign in to comment.