summaryrefslogtreecommitdiff
path: root/editor.hpp
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2025-01-14 00:04:55 +1100
committerquou <quou@disroot.org>2025-01-14 00:04:55 +1100
commitfd488f9603f22db0312eadcdb93b7880922dc9a7 (patch)
tree15b7986e2c06eea57575f4c97811cbc65eaa120a /editor.hpp
parentdfa0b6de5a070d1be63d04574c3b8ce469518250 (diff)
misc refactoring
Diffstat (limited to 'editor.hpp')
-rw-r--r--editor.hpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/editor.hpp b/editor.hpp
new file mode 100644
index 0000000..bb6a6a3
--- /dev/null
+++ b/editor.hpp
@@ -0,0 +1,13 @@
+#ifndef editor_hpp
+#define editor_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_draw(Line_Renderer& lr);
+
+#endif