diff options
author | Fox Caminiti <fox@foxcam.net> | 2023-01-23 23:57:37 -0500 |
---|---|---|
committer | Fox Caminiti <fox@foxcam.net> | 2023-01-23 23:57:37 -0500 |
commit | e4acc91f56d9d88b75f60a23bd9662804d7c54b7 (patch) | |
tree | e0a30356d078557cf18417082dc0122c6fd4c171 /src/bezier.cpp | |
parent | 6298837d4b5fbff561e3d7e6a3361bd64e432960 (diff) |
selection upgrade wip
Diffstat (limited to 'src/bezier.cpp')
-rw-r--r-- | src/bezier.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bezier.cpp b/src/bezier.cpp index 5916c42..dd3974d 100644 --- a/src/bezier.cpp +++ b/src/bezier.cpp @@ -44,9 +44,8 @@ Bezier_SolveYForX(v2 Point_P0, v2 Point_P1, v2 Point_P2, v2 Point_P3, real32 Tar static uint32 Bezier_Shape_Sort(memory *Memory, shape_layer *Shape, bezier_point *PointData, project_state *State, layer_transforms T, int Width, int Height, - int CompWidth, int CompHeight, bool32 Interact) + int CompWidth, int CompHeight, real32 Radius, bool32 Interact) { - real32 Radius = Shape->Opt.Roundness; bezier_point *PointStart = PointData; for (int i = 0; i < Shape->Point_Count; i++) { bezier_point Point = *Bezier_LookupAddress(Memory, Shape->Block_Bezier_Index, i, 1); |