We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ff36b9 commit 3c61506Copy full SHA for 3c61506
src/spline.c
@@ -103,7 +103,7 @@ static void _twin_spline_decompose(twin_path_t *path,
103
} while (!is_flat(&left, tolerance_squared));
104
105
/* Draw the left segment */
106
- _twin_path_sdraw(path, left.a.x, left.a.y);
+ _twin_path_sdraw(path, left.d.x, left.d.y);
107
108
/* Update spline to the right segment */
109
memcpy(spline, &right, sizeof(twin_spline_t));
@@ -132,7 +132,6 @@ void _twin_path_scurve(twin_path_t *path,
132
};
133
_twin_spline_decompose(path, &spline,
134
TWIN_SFIXED_TOLERANCE * TWIN_SFIXED_TOLERANCE);
135
- _twin_path_sdraw(path, x3, y3);
136
}
137
138
void twin_path_curve(twin_path_t *path,
0 commit comments