]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
radiant: Increase the far-clip distance
authorballerburg9005 <github@ballerburg9005.33mail.com>
Thu, 24 Jun 2021 22:31:28 +0000 (00:31 +0200)
committerThomas Debesse <dev@illwieckz.net>
Sun, 27 Jun 2021 17:00:37 +0000 (19:00 +0200)
radiant/camwindow.cpp
radiant/camwindow.h

index fb05ae0f0603d4f67f4ce9eab97da361d4dc435c..a533eec2c7c0c91bef931855f7753f10eaf49e07 100644 (file)
@@ -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 );
index d0722a79cef512d3878e06b4b7714b80a9ca8f16..9ed6d24260d0013dc149e906ba91473948d7ceea 100644 (file)
@@ -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 ){
        }
 
 };