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
This commit is contained in:
auria 2009-12-06 17:56:41 +00:00
parent a97ce54007
commit 3c67c88720

View File

@ -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);