From a37ea807e93886e6a6ebc22a878a5649e97f015a Mon Sep 17 00:00:00 2001 From: Fox Caminiti Date: Tue, 3 Jan 2023 16:40:57 -0500 Subject: shape layer work --- src/include/functions.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/include/functions.h') diff --git a/src/include/functions.h b/src/include/functions.h index 23d741e..53920cb 100644 --- a/src/include/functions.h +++ b/src/include/functions.h @@ -16,6 +16,11 @@ static void Bezier_Interact_Evaluate(project_state *State, bezier_poin // NOTE(fox): GraphZoomHeight and Y_Increment don't have to be specified if the Y value isn't needed, i.e. in Property_SortAll(). static void Bezier_Add(memory *Memory, memory_table_list TableName, property_channel *Property, bezier_point PointData, uint16 *ArrayLocation); +uint32 Bezier_CubicCalcPoints(v2 p1, v2 p2, v2 p3, v2 p4, void *Data, uint32 Size); + + +void GL_RasterizeShape(gl_effect_layer *TestL, gl_effect_layer *TestM, void *PointData, uint32 GL_PointCount, + layer_transforms T, int Width, int Height, int BytesPerPixel, void *EffectBitmapAddress, int L_Width, int L_Height); static void ImGui_ProcessInputs(project_data *File, project_state *State, ui *UI, memory *Memory, ImGuiIO io, sorted_file Sorted); static void ImGui_PropertiesPanel(project_data *File, project_state *State, ui *UI, memory *Memory, ImGuiIO io, sorted_comp_array *SortedCompArray, sorted_layer_array *SortedLayerArray, sorted_property_array *SortedPropertyStart, uint16 *SortedKeyframeArray); -- cgit v1.2.3