summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorFox Caminiti <fox@foxcam.net>2023-01-24 20:16:31 -0500
committerFox Caminiti <fox@foxcam.net>2023-01-24 20:16:31 -0500
commit4261c7342d92ab259d563fcf96180905c112ec96 (patch)
treeb30a67fc8acfb8e2229743c8816d23690b5124fd /src/include
parente4acc91f56d9d88b75f60a23bd9662804d7c54b7 (diff)
functioning smart boxing??
Diffstat (limited to 'src/include')
-rw-r--r--src/include/main.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/main.h b/src/include/main.h
index de33a25..38e9105 100644
--- a/src/include/main.h
+++ b/src/include/main.h
@@ -335,7 +335,10 @@ struct interact_transform
v2 Min;
v2 Max;
real32 Radians;
+ real32 RadianOffset;
v2 Position;
+ v2 OGCenter;
+ v2 NewCenter;
real32 Scale = 1.0f;
ImVec2 OGPos;
uint32 TransformMode;
@@ -484,6 +487,7 @@ struct project_state
// transfer will get buggy if you expand it to everything.
selection_type RecentSelectionType = selection_type_none;
+ interact_transform Interact_Transform;
interact_type Interact_Active;
int32 Interact_Modifier;
real32 Interact_Offset[12];