From 6fa680c739fcf9cf61de68e903976532ce9639f3 Mon Sep 17 00:00:00 2001 From: tech kaczynski Date: Sat, 24 Oct 2026 14:35:19 +1000 Subject: lots of work done to scene hierarchy, added support for reparenting by dragging elements around. Things function much more intuitively now. --- editor.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'editor.h') diff --git a/editor.h b/editor.h index a566072..69a7c90 100644 --- a/editor.h +++ b/editor.h @@ -7,6 +7,7 @@ typedef enum { ED_ACTION_TRANSFORM, + ED_ACTION_REPARENT, ED_ACTION_CREATE, ED_ACTION_DELETE, ED_ACTION_DUPLICATE, @@ -28,6 +29,12 @@ typedef union { u64 parent, prev, next; } stored; + struct { + u64 parent, prev, next; /* PIDs */ + Vec3 pos, scale; + Quaternion rot; + } reparent; + struct { char *name; } rename; -- cgit v1.2.3