d3 / d3-delaunay

Compute the Voronoi diagram of a set of two-dimensional points.
https://d3js.org/d3-delaunay
ISC License
611 stars 57 forks source link

Minor change: Only compute bl and cl when needed. #125 #126

Closed martinfrances107 closed 3 years ago

martinfrances107 commented 3 years ago

As discussed in the issue bl and cl do not always need to be calculated.

Fil commented 3 years ago

Can you build it against https://github.com/d3/d3-delaunay/pull/120 instead? This PR is waiting because of the breaking change (to type:module), but is the way of the future :)

(And a side comment: in the future please feel free to create PRs without an associated issue.)

martinfrances107 commented 3 years ago

Sure no problem, here is the PR

https://github.com/d3/d3-delaunay/pull/127

Fil commented 3 years ago

thanks!