Skip to content

Commit

Permalink
Merge pull request #1438 from thimenesup/patch-1
Browse files Browse the repository at this point in the history
Fix Projection create_orthogonal being incorrect
  • Loading branch information
dsnopek authored Apr 17, 2024
2 parents 9ff49b7 + e4ae69f commit 6873658
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/variant/projection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ Projection Projection::create_for_hmd(int p_eye, real_t p_aspect, real_t p_intra

Projection Projection::create_orthogonal(real_t p_left, real_t p_right, real_t p_bottom, real_t p_top, real_t p_znear, real_t p_zfar) {
Projection proj;
proj.set_orthogonal(p_left, p_right, p_bottom, p_top, p_zfar, p_zfar);
proj.set_orthogonal(p_left, p_right, p_bottom, p_top, p_znear, p_zfar);
return proj;
}

Expand Down

0 comments on commit 6873658

Please sign in to comment.