From 3e201f63be8e44f4dac6cb8327cb55b3dc16272d Mon Sep 17 00:00:00 2001 From: Robert Beckebans Date: Sat, 11 Feb 2023 16:36:46 +0100 Subject: [PATCH] Switched back to old projection matrix for less warping --- neo/renderer/GLMatrix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neo/renderer/GLMatrix.cpp b/neo/renderer/GLMatrix.cpp index 4d567344..601d8aae 100644 --- a/neo/renderer/GLMatrix.cpp +++ b/neo/renderer/GLMatrix.cpp @@ -506,7 +506,7 @@ void R_SetupProjectionMatrix( viewDef_t* viewDef, bool doJitter ) float* projectionMatrix = doJitter ? viewDef->projectionMatrix : viewDef->unjitteredProjectionMatrix; -#if 0 +#if 1 float ymax = zNear * tan( viewDef->renderView.fov_y * idMath::PI / 360.0f ); float ymin = -ymax;