summaryrefslogtreecommitdiffhomepage
path: root/View.h
diff options
context:
space:
mode:
Diffstat (limited to 'View.h')
-rw-r--r--View.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/View.h b/View.h
index 56a50ca..8e247d1 100644
--- a/View.h
+++ b/View.h
@@ -5,6 +5,7 @@
#include <raylib.h>
+#include "Label.h"
#include "Source.h"
@@ -15,15 +16,9 @@ public:
void update(float dt);
void draw() const;
private:
- struct Projected
- {
- Vector2 pos;
- Vector2 base;
- float depth;
- };
Camera m_camera;
std::unique_ptr<Source> m_source;
- std::vector<Projected> m_projected;
+ std::vector<Label> m_labels;
int m_grid;
float m_timer;
};