techkaczynski.dev / code

summaryrefslogtreecommitdiff
path: root/editor.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor.h')
-rw-r--r--editor.h7
1 files changed, 7 insertions, 0 deletions
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,
@@ -29,6 +30,12 @@ typedef union {
} stored;
struct {
+ u64 parent, prev, next; /* PIDs */
+ Vec3 pos, scale;
+ Quaternion rot;
+ } reparent;
+
+ struct {
char *name;
} rename;