From 80004b0dadd13ca287c8d5d4da66855f4524d8dd Mon Sep 17 00:00:00 2001 From: Ian Curtis Date: Tue, 25 Apr 2017 00:31:39 +0000 Subject: [PATCH] Remove debug code --- Src/Graphics/New3D/New3D.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/Src/Graphics/New3D/New3D.cpp b/Src/Graphics/New3D/New3D.cpp index fb5d76e..3b2bee2 100644 --- a/Src/Graphics/New3D/New3D.cpp +++ b/Src/Graphics/New3D/New3D.cpp @@ -1608,8 +1608,6 @@ void CNew3D::CalcViewport(Viewport* vp, float near, float far) near = far / 1000000; // if we get really close to zero somehow, we will have almost no depth precision } - near = 5.f; - float l = near * tanf(vp->angle_left); // we need to calc the shape of the projection frustum for culling float r = near * tanf(vp->angle_right); float t = near * tanf(vp->angle_top);