mirror of
https://github.com/Pomax/BezierInfo-2.git
synced 2025-08-27 18:20:24 +02:00
Update refine-binary.js
This commit is contained in:
@@ -19,7 +19,7 @@ function refineBinary(curve, x, y, LUT, i, targetDistance=0, epsilon=1) {
|
|||||||
t1 = LUT[i1].t,
|
t1 = LUT[i1].t,
|
||||||
t2 = LUT[i2].t,
|
t2 = LUT[i2].t,
|
||||||
lut = [],
|
lut = [],
|
||||||
step = (t2 - t1) / 5;
|
step = (t2 - t1) / 4;
|
||||||
|
|
||||||
if (step < 0.001) break;
|
if (step < 0.001) break;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user