From 1686a01b6ae7467e71eac247078248de4a3b3423 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 13 Dec 2021 23:47:30 +0000 Subject: Refactor to start splitting out UI components --- gfx/manualCameraController.h | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 gfx/manualCameraController.h (limited to 'gfx/manualCameraController.h') diff --git a/gfx/manualCameraController.h b/gfx/manualCameraController.h deleted file mode 100644 index f2141a4..0000000 --- a/gfx/manualCameraController.h +++ /dev/null @@ -1,29 +0,0 @@ -#ifndef MANUAL_CAMERA_CONTROLLER_H -#define MANUAL_CAMERA_CONTROLLER_H - -#include "game/worldobject.h" -#include "inputHandler.h" -#include -#include -#include -#include - -class Camera; - -class ManualCameraController : public CameraController, public InputHandler { -public: - explicit ManualCameraController(glm::vec2 f) : focus {f} { } - - bool handleInput(SDL_Event & e) override; - - void tick(TickDuration) override { } - - void updateCamera(Camera * camera) const override; - -private: - bool ctrl {false}, mrb {false}; - glm::vec2 focus; - float direction {quarter_pi}; - float dist {40}, pitch {quarter_pi}; -}; -#endif -- cgit v1.2.3