Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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)