diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-01-28 18:51:30 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-01-28 18:51:30 +0000 |
commit | 235f128136c7c23a64fa5f0424edf05879b8ee9b (patch) | |
tree | f703d173de2e55fdbdf9723cc5993df63bcff200 /gfx/camera_controller.h | |
parent | Generate some random terrain with a water layer (diff) | |
download | ilt-235f128136c7c23a64fa5f0424edf05879b8ee9b.tar.bz2 ilt-235f128136c7c23a64fa5f0424edf05879b8ee9b.tar.xz ilt-235f128136c7c23a64fa5f0424edf05879b8ee9b.zip |
Input stack and logical split of camera controller
Diffstat (limited to 'gfx/camera_controller.h')
-rw-r--r-- | gfx/camera_controller.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gfx/camera_controller.h b/gfx/camera_controller.h new file mode 100644 index 0000000..cdc70d2 --- /dev/null +++ b/gfx/camera_controller.h @@ -0,0 +1,14 @@ +#ifndef CAMERA_CONTROLLER_H +#define CAMERA_CONTROLLER_H + +#include <game/worldobject.h> + +class Camera; +class Shader; + +class CameraController : public WorldObject { +public: + virtual void updateCamera(Camera *, Shader *) const = 0; +}; + +#endif |