Set camera near distance (magic number, needs fixing and documenting why 52

when range is 30) to see inside tunnels with --camera-debug.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5289 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
mbjornstk 2010-04-27 00:59:08 +00:00
parent 5e6da715e9
commit 32b1300adc

View File

@ -252,6 +252,7 @@ void Camera::update(float dt)
m_camera->setTarget(xyz);
xyz.Y = xyz.Y+30;
m_camera->setPosition(xyz);
m_camera->setNearValue(52.0); // To view inside tunnels (FIXME 52>30 why??? makes no sense)
return;
}