d3 / d3-geo

Geographic projections, spherical shapes and spherical trigonometry.
https://d3js.org/d3-geo
Other
1.03k stars 161 forks source link

Minor: rectangle.js interpolate() - Initial values always overriden. #249

Closed martinfrances107 closed 3 years ago

martinfrances107 commented 3 years ago

I am porting this module into rust .. and so I see the linting errors from a more strict environment.

What is being picked up is a "value" is being written twice before being read.

In short we can drop the fake initialzation.

I want to keep the two version in sync ... so this is an upstream patch.

martinfrances107 commented 3 years ago

Here is the associated pr #250

martinfrances107 commented 3 years ago

this is not correct