1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-08-26 17:54:52 +02:00

Update refine-binary.js

This commit is contained in:
Pomax
2022-02-27 12:07:10 -08:00
committed by GitHub
parent 595a5651e7
commit c683fa699b

View File

@@ -19,7 +19,7 @@ function refineBinary(curve, x, y, LUT, i, targetDistance=0, epsilon=1) {
t1 = LUT[i1].t,
t2 = LUT[i2].t,
lut = [],
step = (t2 - t1) / 5;
step = (t2 - t1) / 4;
if (step < 0.001) break;