diff options
-rw-r--r-- | editor/app.hpp | 2 | ||||
-rw-r--r-- | editor/update.cpp | 14 |
2 files changed, 0 insertions, 16 deletions
diff --git a/editor/app.hpp b/editor/app.hpp index 0ae1ff95..79e0642b 100644 --- a/editor/app.hpp +++ b/editor/app.hpp @@ -70,8 +70,6 @@ private: void maybe_initialize_chunk_(const chunk_coords& pos, chunk& c); - void do_mouse_click(global_coords pos, int button); - void do_mouse_release(int button); void do_mouse_move(global_coords pos); void do_camera(float dt); diff --git a/editor/update.cpp b/editor/update.cpp index e9a79be8..7e72de5e 100644 --- a/editor/update.cpp +++ b/editor/update.cpp @@ -35,20 +35,6 @@ void app::maybe_initialize_chunk([[maybe_unused]] const chunk_coords& pos, [[may //maybe_initialize_chunk_(pos, c); } -void app::do_mouse_click(const global_coords pos, int button) -{ - if (button == mouse_button_left) - _editor.on_click(M->world(), pos); - else - _editor.on_release(); -} - -void app::do_mouse_release(int button) -{ - (void)button; - _editor.on_release(); -} - void app::do_mouse_move(global_coords pos) { _editor.on_mouse_move(M->world(), pos); |