From: ballerburg9005 Date: Thu, 24 Jun 2021 22:31:28 +0000 (+0200) Subject: radiant: Increase the far-clip distance X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f03b9b7f0932b55c8a6d587681152ba601b23c77;p=xonotic%2Fnetradiant.git radiant: Increase the far-clip distance --- 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 ){ } };