From cf2abfcfe34a9b3e4cf5af193d1f320374416267 Mon Sep 17 00:00:00 2001 From: quou Date: Sat, 18 Jan 2025 16:19:41 +1100 Subject: convert models and editor to use ecs --- editor.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'editor.hpp') diff --git a/editor.hpp b/editor.hpp index bb6a6a3..9443a45 100644 --- a/editor.hpp +++ b/editor.hpp @@ -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 -- cgit v1.2.3-54-g00ecf