Closed morganherlocker closed 9 years ago
Trading a bit of performance, we can get better accuracy and cover more edge cases.
given segment: x0, y0, x1, y1
//get intersections with verticals
//get intersections with horizontals
done https://github.com/mapbox/tile-cover/commit/10f18436518900879b7684221e6f7b476b8a1445
Trading a bit of performance, we can get better accuracy and cover more edge cases.
given segment: x0, y0, x1, y1
//get intersections with verticals
//get intersections with horizontals