techkaczynski.dev / code

summaryrefslogtreecommitdiff
path: root/editor.h
diff options
context:
space:
mode:
authortech kaczynski <tk@techkaczynski.dev>2026-10-19 04:05:26 +1000
committertech kaczynski <tk@techkaczynski.dev>2026-10-19 04:05:26 +1000
commitbd1268267e1b0cbf6253c992bce0e5224da7fa01 (patch)
tree96025889269645011bc634aed0a668addc80c686 /editor.h
parentedc50a43a0ab064472aa7fde90f14cf456d92076 (diff)
updated editor move tool and related gizmos.
Diffstat (limited to 'editor.h')
-rw-r--r--editor.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/editor.h b/editor.h
index 808a1ee..78a8850 100644
--- a/editor.h
+++ b/editor.h
@@ -93,6 +93,12 @@ typedef struct {
EditorInteraction interact;
EditorPanelContainer focus;
bool focus_captured;
+
+ int move_axis;
+ bool move_plane;
+ Vec3 move_snap_origin;
+ Quaternion move_rotation;
+
struct {
EditorPanelType type;
Rect bounds;