diff options
author | Stijn Buys <ingar@osirion.org> | 2008-11-11 19:11:57 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-11-11 19:11:57 +0000 |
commit | 773c1bafe0f1d8b706e0f72e235f8466e7a9ccf5 (patch) | |
tree | ab4b3058f436a4e4c54618f132a9179ee40e330c /src/render/camera.h | |
parent | 3082cb197fb6af7d069f9ad211ff6ea5657d924a (diff) |
cleanups
Diffstat (limited to 'src/render/camera.h')
-rw-r--r-- | src/render/camera.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/render/camera.h b/src/render/camera.h index 5394d1b..3f30ff6 100644 --- a/src/render/camera.h +++ b/src/render/camera.h @@ -37,9 +37,6 @@ public: /// current camera mode static inline Mode mode() { return camera_mode; } - /// current aspect ratio - static inline float aspect() { return camera_aspect; } - /// reset the current mode static void reset(); @@ -71,30 +68,20 @@ public: /// set specified camera mode static void set_mode(Mode newmode); - /// resize camera - static void resize(int width, int height); - /// current frustum front static float frustum_front(); /// current frustum size (height); static float frustum_size(); - inline static int width() { return camera_width; } - - inline static int height() { return camera_height; } - private: static math::Vector3f camera_eye; static math::Vector3f camera_target; static math::Axis camera_axis; static Mode camera_mode; static Mode camera_previous_mode; - static float camera_aspect; static float camera_frustum_size; static float camera_frustum_front; - static int camera_width; - static int camera_height; // current and target yaw angle in XZ plane, positive is looking left static float direction_current; |