From 4261c7342d92ab259d563fcf96180905c112ec96 Mon Sep 17 00:00:00 2001 From: Fox Caminiti Date: Tue, 24 Jan 2023 20:16:31 -0500 Subject: functioning smart boxing?? --- src/include/main.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/include') 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]; -- cgit v1.2.3