summaryrefslogtreecommitdiffhomepage
path: root/View.h
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-06-05 12:02:17 +0200
committerAki <please@ignore.pl>2022-06-05 12:20:49 +0200
commitb08f360cf92e76fabf5b762bf79032f60f751e30 (patch)
tree1bea4571ad78876fdec744462712ea9859edb055 /View.h
parent5cb5322feddfe75fe09bffef5b648062a1eb5958 (diff)
downloadderelict-b08f360cf92e76fabf5b762bf79032f60f751e30.zip
derelict-b08f360cf92e76fabf5b762bf79032f60f751e30.tar.gz
derelict-b08f360cf92e76fabf5b762bf79032f60f751e30.tar.bz2
Added cameraman to handle camera
Diffstat (limited to 'View.h')
-rw-r--r--View.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/View.h b/View.h
index e98502a..8e0a1f0 100644
--- a/View.h
+++ b/View.h
@@ -4,6 +4,7 @@
#include <raylib.h>
+#include "Cameraman.h"
#include "Grid.h"
#include "Label.h"
#include "Timeline.h"
@@ -17,7 +18,7 @@ public:
void update(float dt);
void draw() const;
private:
- Camera m_camera;
+ Cameraman m_cameraman;
std::vector<Grid> m_grids;
std::vector<Label> m_labels;
unsigned int m_grid;