diff options
author | Frederico Linhares <fred@linhares.blue> | 2022-11-09 16:11:15 -0300 |
---|---|---|
committer | Frederico Linhares <fred@linhares.blue> | 2022-11-09 17:19:06 -0300 |
commit | bde8c8bd073abeb314748d66d6402f951ecb2902 (patch) | |
tree | 69c91317baf62a0ad9e36d8e35969fd82a02e91d /src/vk/view_2d.hpp | |
parent | 7e9107cb1c5012fef900dfa03408e2179f1f9915 (diff) |
feat create method Rectangle#draw
Diffstat (limited to 'src/vk/view_2d.hpp')
-rw-r--r-- | src/vk/view_2d.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vk/view_2d.hpp b/src/vk/view_2d.hpp index f6741cc..ec7225f 100644 --- a/src/vk/view_2d.hpp +++ b/src/vk/view_2d.hpp @@ -23,6 +23,7 @@ #include "core.hpp" #include "sprite.hpp" +#include "rectangle.hpp" namespace VK { @@ -37,6 +38,7 @@ struct View2D VkDescriptorPool descriptor_pool; std::vector<VkDescriptorSet> descriptor_sets_2d; + std::vector<std::vector<std::shared_ptr<Rectangle>>> rectangles_to_draw; std::vector< std::unordered_map<std::shared_ptr<Sprite>, std::vector<glm::vec4>>> sprites_to_draw; |