diff options
author | quou <quou@disroot.org> | 2025-01-18 16:19:41 +1100 |
---|---|---|
committer | quou <quou@disroot.org> | 2025-01-18 16:19:41 +1100 |
commit | cf2abfcfe34a9b3e4cf5af193d1f320374416267 (patch) | |
tree | c0f209ac730fa8a8b4564c818b3ce44fec59ffeb /editor.hpp | |
parent | 025510f2928e123d12a7d6d3574ca70fdd9d7717 (diff) |
convert models and editor to use ecs
Diffstat (limited to 'editor.hpp')
-rw-r--r-- | editor.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,13 +1,15 @@ #ifndef editor_hpp #define editor_hpp +#include "world.hpp" + struct UI; struct Model_Instance; struct Line_Renderer; void init_editor(UI* ui); void deinit_editor(); -void editor_on_select(Model_Instance* instance, int mesh); +void editor_on_select(World& w, Entity_Id e, int m); void editor_draw(Line_Renderer& lr); #endif |