summaryrefslogtreecommitdiff
path: root/gfx/followCameraController.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/followCameraController.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/followCameraController.h')
-rw-r--r--gfx/followCameraController.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gfx/followCameraController.h b/gfx/followCameraController.h
index d57b59f..ef2000d 100644
--- a/gfx/followCameraController.h
+++ b/gfx/followCameraController.h
@@ -6,7 +6,6 @@
#include <gfx/camera_controller.h>
class Camera;
-class Shader;
class FollowCameraController : public CameraController {
public:
@@ -15,7 +14,7 @@ public:
void tick(TickDuration) override { }
- void updateCamera(Camera * camera, Shader * shader) const override;
+ void updateCamera(Camera * camera) const override;
private:
VehicleWPtr target;