diff options
Diffstat (limited to 'editor')
| -rw-r--r-- | editor/app.cpp | 1 | ||||
| -rw-r--r-- | editor/app.hpp | 1 | ||||
| -rw-r--r-- | editor/update.cpp | 2 |
3 files changed, 1 insertions, 3 deletions
diff --git a/editor/app.cpp b/editor/app.cpp index 44ca1530..6f8cbed8 100644 --- a/editor/app.cpp +++ b/editor/app.cpp @@ -9,7 +9,6 @@ namespace floormat { app::app() : M{ floormat_main::create(*this, {})}, - _dummy{M->register_debug_callback()}, _floor1{loader.tile_atlas("floor-tiles", {44, 4})}, _floor2{loader.tile_atlas("metal1", {2, 2})}, _wall1{loader.tile_atlas("wood2", {1, 1})}, diff --git a/editor/app.hpp b/editor/app.hpp index f7adfc9a..e4f26cf0 100644 --- a/editor/app.hpp +++ b/editor/app.hpp @@ -90,7 +90,6 @@ private: void draw_wireframe_box(global_coords pt); Containers::Pointer<floormat_main> M; - [[maybe_unused]] void* _dummy; std::shared_ptr<tile_atlas> _floor1, _floor2, _wall1, _wall2; ImGuiIntegration::Context _imgui{NoCreate}; wireframe_mesh<wireframe::quad> _wireframe_quad; diff --git a/editor/update.cpp b/editor/update.cpp index a38f4e6e..8247b736 100644 --- a/editor/update.cpp +++ b/editor/update.cpp @@ -47,7 +47,7 @@ void app::do_mouse_release(int button) void app::do_mouse_move(global_coords pos) { - //_editor.on_mouse_move(_world, pos); + _editor.on_mouse_move(M->world(), pos); } void app::update(float dt) |
