From f03b9b7f0932b55c8a6d587681152ba601b23c77 Mon Sep 17 00:00:00 2001 From: ballerburg9005 Date: Fri, 25 Jun 2021 00:31:28 +0200 Subject: [PATCH] radiant: Increase the far-clip distance --- radiant/camwindow.cpp | 4 ++-- radiant/camwindow.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/radiant/camwindow.cpp b/radiant/camwindow.cpp index fb05ae0f..a533eec2 100644 --- a/radiant/camwindow.cpp +++ b/radiant/camwindow.cpp @@ -1632,8 +1632,8 @@ void Camera_CubeIn(){ void Camera_CubeOut(){ CamWnd& camwnd = *g_camwnd; g_camwindow_globals.m_nCubicScale++; - if ( g_camwindow_globals.m_nCubicScale > 23 ) { - g_camwindow_globals.m_nCubicScale = 23; + if ( g_camwindow_globals.m_nCubicScale > 46 ) { + g_camwindow_globals.m_nCubicScale = 46; } Camera_updateProjection( camwnd.getCamera() ); CamWnd_Update( camwnd ); diff --git a/radiant/camwindow.h b/radiant/camwindow.h index d0722a79..9ed6d242 100644 --- a/radiant/camwindow.h +++ b/radiant/camwindow.h @@ -69,7 +69,7 @@ struct camwindow_globals_t camwindow_globals_t() : color_cameraback( 0.25f, 0.25f, 0.25f ), color_selbrushes3d( 1.0f, 0.f, 0.f ), - m_nCubicScale( 13 ){ + m_nCubicScale( 26 ){ } }; -- 2.39.2