diff options
Diffstat (limited to 'yage/core/camera.h')
-rw-r--r-- | yage/core/camera.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/yage/core/camera.h b/yage/core/camera.h index 8ebe5d2a..ba07d423 100644 --- a/yage/core/camera.h +++ b/yage/core/camera.h @@ -6,15 +6,15 @@ * ---------------------------------------------------------------------------- */ -#ifndef YAGE_CAMERA2D_H -#define YAGE_CAMERA2D_H +#ifndef YAGE_CORE_CAMERA_H +#define YAGE_CORE_CAMERA_H #include <glm/glm.hpp> namespace yage { -class GlslProgram; +class Shader; class Camera { @@ -28,7 +28,7 @@ private: public: Camera(int screen_width = 1280, int screen_height = 720); - void update(GlslProgram &program); + void update(Shader &program); void move(const glm::vec2 &direction); }; |