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 eb21ca8 commit 049ca4eCopy full SHA for 049ca4e
src/brute.js
@@ -73,6 +73,9 @@ export default function brute(lines, options) {
73
}
74
75
function intersectSegments(a, b) {
76
+ // Note: this is almost the same as geom.intersectSegments()
77
+ // The main difference is that we don't have a pre-computed
78
+ // value for dx/dy on the segments.
79
// https://stackoverflow.com/a/1968345/125351
80
var aStart = a.from, bStart = b.from;
81
var p0_x = aStart.x, p0_y = aStart.y,
0 commit comments