diff options
Diffstat (limited to 'src/client/camera.h')
-rw-r--r-- | src/client/camera.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/client/camera.h b/src/client/camera.h index b1245c8..93b44d1 100644 --- a/src/client/camera.h +++ b/src/client/camera.h @@ -7,6 +7,8 @@ #ifndef __INCLUDED_CLIENT_CAMERA_H__ #define __INCLUDED_CLIENT_CAMERA_H__ +#include "math/mathlib.h" + namespace client { /// camera functions @@ -25,19 +27,22 @@ namespace camera void draw(float elapsed); /// rotate the camera left - void rotate_left(); + void key_left(); /// rotate the camera right - void rotate_right(); + void key_right(); /// rotate the camera up - void rotate_up(); + void key_up(); /// rotate the camera down - void rotate_down(); + void key_down(); /// switch to next camera mode - void nextmode(); + void next_mode(); + + /// gameworld coordinates of the camera target + extern math::Vector3f target; } // namespace camera |