From b2f0c4532872e630b8c543d85dbb56709c625b99 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 9 Apr 2023 22:04:53 +0200 Subject: add todo --- editor/app.hpp | 2 +- src/chunk.hpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/editor/app.hpp b/editor/app.hpp index ac3abdb3..2e9efd7d 100644 --- a/editor/app.hpp +++ b/editor/app.hpp @@ -45,7 +45,7 @@ enum class popup_target_type : unsigned char { }; struct popup_target final { - object_id id; + object_id id; // todo switch to weak_ptr popup_target_type target = popup_target_type::none; bool operator==(const popup_target&) const; }; diff --git a/src/chunk.hpp b/src/chunk.hpp index be90c89a..ae19ad62 100644 --- a/src/chunk.hpp +++ b/src/chunk.hpp @@ -121,8 +121,8 @@ private: std::array _wall_variants = {}; std::vector> _entities; - std::vector> scenery_indexes; - std::vector> scenery_vertexes; + std::vector> scenery_indexes; // todo move to anim_mesh + std::vector> scenery_vertexes; // same struct world* _world; GL::Mesh ground_mesh{NoCreate}, wall_mesh{NoCreate}, scenery_mesh{NoCreate}; -- cgit v1.2.3