Merge pull request #70112 from Lielay9/patch-1
Fix "p_zfar" to "p_znear" in Projection.create_orthogonal
This commit is contained in:
commit
6889889894
@ -134,7 +134,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 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;
|
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;
|
return proj;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user