diff options
author | Aki <please@ignore.pl> | 2022-05-15 14:10:53 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-05-15 14:12:23 +0200 |
commit | 92d04b664e2e182fab41e63c3465aad898386cb0 (patch) | |
tree | 5ff7700d36bb50098646255135bb0742c8c2705f /View.h | |
parent | 04a37fe8ae205afcdfbf83c0452324d4c9362bf3 (diff) | |
download | derelict-92d04b664e2e182fab41e63c3465aad898386cb0.zip derelict-92d04b664e2e182fab41e63c3465aad898386cb0.tar.gz derelict-92d04b664e2e182fab41e63c3465aad898386cb0.tar.bz2 |
Separated Projected into own header and renamed to Label
Diffstat (limited to 'View.h')
-rw-r--r-- | View.h | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -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; }; |