summaryrefslogtreecommitdiff
path: root/gfx/camera_controller.h
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/camera_controller.h')
-rw-r--r--gfx/camera_controller.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/gfx/camera_controller.h b/gfx/camera_controller.h
new file mode 100644
index 0000000..cdc70d2
--- /dev/null
+++ b/gfx/camera_controller.h
@@ -0,0 +1,14 @@
+#ifndef CAMERA_CONTROLLER_H
+#define CAMERA_CONTROLLER_H
+
+#include <game/worldobject.h>
+
+class Camera;
+class Shader;
+
+class CameraController : public WorldObject {
+public:
+ virtual void updateCamera(Camera *, Shader *) const = 0;
+};
+
+#endif