diff options
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; }; |