diff options
Diffstat (limited to 'editor.h')
| -rw-r--r-- | editor.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -82,6 +82,7 @@ typedef struct { int sel_cnt; f32 grid_sz; + int rotation_snap; u64 physics_pid; int physics_body, physics_shape; @@ -97,8 +98,17 @@ typedef struct { int move_axis; bool move_plane; Vec3 move_snap_origin; + + int rotate_axis; + bool rotate_group; + Vec3 rotate_pivot; Quaternion move_rotation; + int scale_axis; + bool scale_group; + Vec3 scale_pivot; + f32 scale_factor; + struct { EditorPanelType type; Rect bounds; @@ -123,6 +133,7 @@ void editor_update(void); void editor_select(void); void editor_move(void); void editor_rotate(void); +void editor_scale(void); /* draw */ void editor_draw_ui(void); |
