From 3c67c88720d9f7fdbbbe44ab620ae2340e20aef8 Mon Sep 17 00:00:00 2001 From: auria Date: Sun, 6 Dec 2009 17:56:41 +0000 Subject: [PATCH] Decreased FOV in multiplayer mode, will look much less weird git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4259 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/graphics/camera.cpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/graphics/camera.cpp b/src/graphics/camera.cpp index e0b89c0d7..7b7792be9 100644 --- a/src/graphics/camera.cpp +++ b/src/graphics/camera.cpp @@ -84,9 +84,11 @@ void Camera::setupCamera() : UserConfigParams::m_height); m_scaling = core::vector2df(1.0f, 0.5f); m_aspect *= 2.0f; - m_fov = DEGREE_TO_RAD*85.0f; + m_fov = DEGREE_TO_RAD*65.0f; break; - case 3: if(m_index<2) + case 3: + /* + if(m_index<2) { m_viewport = core::recti(m_index==0 ? 0 : UserConfigParams::m_width>>1, @@ -103,10 +105,10 @@ void Camera::setupCamera() UserConfigParams::m_width, UserConfigParams::m_height); m_scaling = core::vector2df(1.0f, 0.5f); - m_fov = DEGREE_TO_RAD*85.0f; + m_fov = DEGREE_TO_RAD*65.0f; m_aspect *= 2.0f; } - break; + break;*/ case 4: m_viewport = core::recti(m_index%2==0 ? 0 : UserConfigParams::m_width>>1, m_index<2 ? 0 @@ -124,7 +126,7 @@ void Camera::setupCamera() UserConfigParams::m_width, UserConfigParams::m_height); m_scaling = core::vector2df(1.0f, 1.0f); - m_fov = DEGREE_TO_RAD*75.0f; + m_fov = DEGREE_TO_RAD*65.0f; break; } // switch m_camera->setFOV(m_fov);