Closed Fil closed 8 years ago
https://github.com/d3/d3-voronoi/blob/master/src/Cell.js#L16 uses Math.atan2to give us the angle, but the result is only ever used to compare angles, so we could return the tangent instead.
Math.atan2
I tried to play with this idea and I am stump, so let's just forget about this
https://github.com/d3/d3-voronoi/blob/master/src/Cell.js#L16 uses
Math.atan2
to give us the angle, but the result is only ever used to compare angles, so we could return the tangent instead.