Skip to content

Commit 049ca4e

Browse files
committed
added a note
1 parent eb21ca8 commit 049ca4e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/brute.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ export default function brute(lines, options) {
7373
}
7474

7575
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.
7679
// https://stackoverflow.com/a/1968345/125351
7780
var aStart = a.from, bStart = b.from;
7881
var p0_x = aStart.x, p0_y = aStart.y,

0 commit comments

Comments
 (0)