summaryrefslogtreecommitdiff
path: root/src/bezier.cpp
diff options
context:
space:
mode:
authorFox Caminiti <fox@foxcam.net>2023-01-23 23:57:37 -0500
committerFox Caminiti <fox@foxcam.net>2023-01-23 23:57:37 -0500
commite4acc91f56d9d88b75f60a23bd9662804d7c54b7 (patch)
treee0a30356d078557cf18417082dc0122c6fd4c171 /src/bezier.cpp
parent6298837d4b5fbff561e3d7e6a3361bd64e432960 (diff)
selection upgrade wip
Diffstat (limited to 'src/bezier.cpp')
-rw-r--r--src/bezier.cpp3
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);