aboutsummaryrefslogtreecommitdiffstats
path: root/yage/core/camera.h
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-12-27 19:21:12 +0000
committerYann Herklotz <ymherklotz@gmail.com>2017-12-27 19:21:12 +0000
commit354d7df4d2779ed7391701d1ef4344e959b64582 (patch)
tree81ecdc8d323cae78a86fb9c99524f57c705eeabc /yage/core/camera.h
parentf949692714e72a0e2d45ebb6a5d698424ab71dee (diff)
downloadYAGE-354d7df4d2779ed7391701d1ef4344e959b64582.tar.gz
YAGE-354d7df4d2779ed7391701d1ef4344e959b64582.zip
[Broken] Texture is black.
Diffstat (limited to 'yage/core/camera.h')
-rw-r--r--yage/core/camera.h8
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);
};