diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/main-impl.hpp | 1 | ||||
-rw-r--r-- | main/setup.cpp | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/main/main-impl.hpp b/main/main-impl.hpp index 945b2196..cc17f9bc 100644 --- a/main/main-impl.hpp +++ b/main/main-impl.hpp @@ -58,6 +58,7 @@ struct main_impl final : Platform::Sdl2Application, floormat_main void drawEvent() override; void do_update(); void update_window_state(); + struct meshes meshes() noexcept override; bool is_text_input_active() const noexcept override; void start_text_input() noexcept override; diff --git a/main/setup.cpp b/main/setup.cpp index 3a251451..72bf3550 100644 --- a/main/setup.cpp +++ b/main/setup.cpp @@ -111,4 +111,9 @@ void main_impl::update_window_state() } } +auto main_impl::meshes() noexcept -> struct meshes +{ + return { _floor_mesh, _wall_mesh, _anim_mesh, }; +}; + } // namespace floormat |