diff options
author | Stijn Buys <ingar@osirion.org> | 2008-06-17 17:22:41 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-06-17 17:22:41 +0000 |
commit | c5dddd62db3e070b89cb774abfd90cc3387a6d52 (patch) | |
tree | 4ffd089f567190aba57cdd59afa7ac8e3bde6261 /src/render/camera.cc | |
parent | 5438566c29ef436b32bb8722e0fa088935c59471 (diff) |
camera and cursor updates
Diffstat (limited to 'src/render/camera.cc')
-rw-r--r-- | src/render/camera.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/camera.cc b/src/render/camera.cc index 5a6607f..6c9a115 100644 --- a/src/render/camera.cc +++ b/src/render/camera.cc @@ -264,11 +264,11 @@ void Camera::draw(float seconds) } } -/* if (core::localcontrol()->model()) { + if (core::localcontrol()->model()) { camera_target -= (core::localcontrol()->model()->maxbbox().x + 0.1f) * camera_axis.forward(); camera_target += (core::localcontrol()->model()->maxbbox().z + 0.1f ) * camera_axis.up(); } -*/ + } else if (mode() == Free) { camera_axis.assign(target_axis); |