diff options
author | Fox Caminiti <fox@foxcam.net> | 2023-02-05 14:04:50 -0500 |
---|---|---|
committer | Fox Caminiti <fox@foxcam.net> | 2023-02-05 14:04:50 -0500 |
commit | e2e0e630ca51a4fd80a8186c5795c96693a2815b (patch) | |
tree | 51e473a4869e7eea3fc18bb42851fb669d6b947f /src/include/functions.h | |
parent | 04a91de8f8432f3cff461983db3d12d24e1a4c1c (diff) |
fully working comp-recursive transforms!
Diffstat (limited to 'src/include/functions.h')
-rw-r--r-- | src/include/functions.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/functions.h b/src/include/functions.h index 4c4ea2d..3826824 100644 --- a/src/include/functions.h +++ b/src/include/functions.h @@ -44,6 +44,12 @@ static layer_transforms Transform_Inverse(layer_transforms T); static v2 T_CompPosToLayerPos(layer_transforms T, uint32 FileWidth, uint32 FileHeight, uint32 SourceWidth, uint32 SourceHeight, real32 X, real32 Y); +static layer_transforms +Transform_TestInteracts(project_state *State, block_layer *Layer, sorted_layer_array SortEntry, layer_transforms T); + +static layer_transforms +Transform_Add(layer_transforms T, layer_transforms ExtraT, real32 Width, real32 Height); + inline void ImGui_DrawCenteredRect(ImDrawList *draw_list, ImVec2 Point, real32 Width, uint32 col) |