summaryrefslogtreecommitdiff
path: root/gfx/camera_controller.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-02-17 00:23:21 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2021-02-17 00:34:57 +0000
commit5283c898f008a54a1f275841281e2b7aa685f02c (patch)
treea75620a02da52e444a5c72d08b5f8d37e675fe61 /gfx/camera_controller.h
parentTidy code for calculating position of rail vehicle by bogeys (diff)
downloadilt-5283c898f008a54a1f275841281e2b7aa685f02c.tar.bz2
ilt-5283c898f008a54a1f275841281e2b7aa685f02c.tar.xz
ilt-5283c898f008a54a1f275841281e2b7aa685f02c.zip
Disconnect camera control from shader
Diffstat (limited to 'gfx/camera_controller.h')
-rw-r--r--gfx/camera_controller.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gfx/camera_controller.h b/gfx/camera_controller.h
index cdc70d2..926c93b 100644
--- a/gfx/camera_controller.h
+++ b/gfx/camera_controller.h
@@ -4,11 +4,10 @@
#include <game/worldobject.h>
class Camera;
-class Shader;
class CameraController : public WorldObject {
public:
- virtual void updateCamera(Camera *, Shader *) const = 0;
+ virtual void updateCamera(Camera *) const = 0;
};
#endif