summaryrefslogtreecommitdiff
path: root/gfx/manualCameraController.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/manualCameraController.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/manualCameraController.h')
-rw-r--r--gfx/manualCameraController.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gfx/manualCameraController.h b/gfx/manualCameraController.h
index 112ec5c..465f31f 100644
--- a/gfx/manualCameraController.h
+++ b/gfx/manualCameraController.h
@@ -8,7 +8,6 @@
#include <optional>
class Camera;
-class Shader;
class ManualCameraController : public CameraController, public InputHandler {
public:
@@ -16,7 +15,7 @@ public:
void tick(TickDuration) override { }
- void updateCamera(Camera * camera, Shader * shader) const override;
+ void updateCamera(Camera * camera) const override;
private:
bool ctrl {false}, mrb {false};