diff options
author | Stijn Buys <ingar@osirion.org> | 2008-01-06 18:22:25 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-01-06 18:22:25 +0000 |
commit | a71a525675826589aa7e5209118201acb54f5405 (patch) | |
tree | 33836dee36d89f456cbd4ce5bf7e263fa0129e43 /src/client/camera.h | |
parent | f14ad6c7f3efd0c91a1ab8a4013b1975ddb02545 (diff) |
new camera settings
Diffstat (limited to 'src/client/camera.h')
-rw-r--r-- | src/client/camera.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/client/camera.h b/src/client/camera.h index c363f91..ec8d4d6 100644 --- a/src/client/camera.h +++ b/src/client/camera.h @@ -22,7 +22,7 @@ public: ~Camera(); /// enum indicating the camera mode - enum Mode {Free, Track}; + enum Mode {Free, Track, Overview}; /// draw the OpenGL camera transformation void draw(float elapsed); @@ -57,8 +57,10 @@ protected: float yaw_current; /// current pitch, angle in XY, positive is looking up float pitch_current; - /// default tracking pitch + /// default pitch in mode::Track float pitch_track; + /// default pitch in mode::Overview + float pitch_overview; /// default offset increment float offset_inc; }; |