diff options
Diffstat (limited to 'yage/core/camera2d.h')
-rw-r--r-- | yage/core/camera2d.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yage/core/camera2d.h b/yage/core/camera2d.h index db941aee..109333d6 100644 --- a/yage/core/camera2d.h +++ b/yage/core/camera2d.h @@ -17,7 +17,7 @@ namespace yage class GlslProgram; -class Camera2D +class Camera { private: bool update_matrix_ = true; @@ -27,7 +27,7 @@ private: glm::mat4 ortho_matrix_; public: - Camera2D(int screen_width = 1280, int screen_height = 720); + Camera(int screen_width = 1280, int screen_height = 720); void update(GlslProgram &program); void move(const glm::vec2 &direction); |