From 4b3f1e8aaa235432f2f6b5666d65397a102cadd2 Mon Sep 17 00:00:00 2001 From: Ykkrosh Date: Sun, 17 Oct 2010 16:26:02 +0000 Subject: [PATCH] Allow camera closer to edge of map when zoomed in This was SVN commit r8401. --- source/graphics/GameView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/graphics/GameView.cpp b/source/graphics/GameView.cpp index 80926a7aa7..c675814bb2 100644 --- a/source/graphics/GameView.cpp +++ b/source/graphics/GameView.cpp @@ -60,7 +60,7 @@ const float CGameView::defaultFOV = DEGTORAD(20.f); const float CGameView::defaultNear = 4.f; const float CGameView::defaultFar = 4096.f; const float CGameView::defaultCullFOV = CGameView::defaultFOV + DEGTORAD(6.0f); //add 6 degrees to the default FOV for use with the culling frustum -const float CGameView::cameraPivotMargin = 20.0f; +const float CGameView::cameraPivotMargin = -20.0f; /** * A value with exponential decay towards the target value.