From 9252bfb61fabea1f45afacb19d805eb5fdd01599 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 28 Sep 2008 21:34:53 +0000 Subject: intro module --- src/render/camera.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/render') diff --git a/src/render/camera.cc b/src/render/camera.cc index 53d27f7..ae7cd43 100644 --- a/src/render/camera.cc +++ b/src/render/camera.cc @@ -20,7 +20,7 @@ namespace render const float MIN_DELTA = 10e-10; const float pitch_track = -15.0f; -const float pitch_overview = -75.0f; +const float pitch_overview = -5.0f; float Camera::camera_aspect = 1.0f; float Camera::camera_frustum_size = 0.5f; @@ -206,13 +206,15 @@ void Camera::frame(float seconds) set_mode(Overview); } + // TODO read Zone overview positions camera_eye.clear(); camera_target.clear(); camera_axis.clear(); pitch_current = pitch_overview; camera_axis.change_pitch(pitch_current); - distance = 20.0f; + //distance = 20.0f; + distance = 8.0f; } else { if (mode() == Overview) -- cgit v1.2.3