From e4ae69f607fca68ca8521b384095acad2788390e Mon Sep 17 00:00:00 2001 From: thimenesup Date: Sun, 14 Apr 2024 20:27:53 +0200 Subject: [PATCH] Fix Projection create_orthogonal being incorrect Title --- src/variant/projection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/variant/projection.cpp b/src/variant/projection.cpp index c28e6513..ddedc93f 100644 --- a/src/variant/projection.cpp +++ b/src/variant/projection.cpp @@ -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; }