diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2025-04-02 23:22:12 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2025-04-02 23:22:12 +0100 |
commit | 2245fc8a3bb521afc2e6dd575cd1757ecab23558 (patch) | |
tree | c4565e14b2e9b01c970b3ee5816f6ec849b61e92 /ui/manualCameraController.h | |
parent | Merge remote-tracking branch 'origin/ptrs' (diff) | |
parent | Remove the old unused network.png icon (diff) | |
download | ilt-2245fc8a3bb521afc2e6dd575cd1757ecab23558.tar.bz2 ilt-2245fc8a3bb521afc2e6dd575cd1757ecab23558.tar.xz ilt-2245fc8a3bb521afc2e6dd575cd1757ecab23558.zip |
Diffstat (limited to 'ui/manualCameraController.h')
-rw-r--r-- | ui/manualCameraController.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/ui/manualCameraController.h b/ui/manualCameraController.h index 2f955e7..6501762 100644 --- a/ui/manualCameraController.h +++ b/ui/manualCameraController.h @@ -6,15 +6,14 @@ #include <glm/glm.hpp> #include <maths.h> -class UIShader; class Camera; class ManualCameraController : public CameraController, public UIComponent { public: - explicit ManualCameraController(GlobalPosition2D f) : UIComponent {{}}, focus {f} { } + explicit ManualCameraController(GlobalPosition2D f) : focus {f} { } - bool handleInput(const SDL_Event & e, const Position &) override; - void render(const UIShader &, const Position & parentPos) const override; + bool handleInput(const SDL_Event & e) override; + void render() override; void updateCamera(Camera * camera) const override; |