1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-09-27 00:29:00 +02:00

curve/curve intersection

This commit is contained in:
Pomax
2020-08-29 12:49:23 -07:00
parent bdc7c4228d
commit f4eafa288a
10 changed files with 235 additions and 163 deletions

View File

@@ -805,7 +805,7 @@ const utils = {
];
}
const cc1 = c1.split(0.5),
let cc1 = c1.split(0.5),
cc2 = c2.split(0.5),
pairs = [
{ left: cc1.left, right: cc2.left },
@@ -818,7 +818,7 @@ const utils = {
return utils.bboxoverlap(pair.left.bbox(), pair.right.bbox());
});
const results = [];
let results = [];
if (pairs.length === 0) return results;