From cacc2a709eeb5633058f9125f112cbd353f8a6f1 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Fri, 9 Aug 2013 13:33:07 +0300 Subject: [PATCH] Correct camera distance in side view --- source/engineer/trainview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.45.2