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