From: Mikko Rasa Date: Fri, 9 Aug 2013 10:33:07 +0000 (+0300) Subject: Correct camera distance in side view X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=cacc2a709eeb5633058f9125f112cbd353f8a6f1;p=r2c2.git Correct camera distance in side view --- diff --git a/source/engineer/trainview.cpp b/source/engineer/trainview.cpp index 1078009..6107028 100644 --- a/source/engineer/trainview.cpp +++ b/source/engineer/trainview.cpp @@ -82,7 +82,7 @@ void TrainView::prepare() camera.set_look_direction(fwd_vec-Vector(0, 0, -0.2)); break; case SIDE: - camera.set_position(pos-0.8f*fwd_vec+0.05f*side_vec+Vector(0, 0, 0.03)); + camera.set_position(pos-0.08f*fwd_vec+0.05f*side_vec+Vector(0, 0, 0.03)); camera.set_look_direction(fwd_vec-side_vec*0.2f); break; case HEAD: