Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-09-28 21:34:53 +0000
committerStijn Buys <ingar@osirion.org>2008-09-28 21:34:53 +0000
commit9252bfb61fabea1f45afacb19d805eb5fdd01599 (patch)
tree13fdfb005ab0b690766d35572f0eeecca28f6009 /src/render
parent6774f2b5d14c1957d163ef4b7914c2660b59fdfd (diff)
intro module
Diffstat (limited to 'src/render')
-rw-r--r--src/render/camera.cc6
1 files changed, 4 insertions, 2 deletions
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)