Closed eskimoblood closed 9 years ago
The following line is used to calculate the distance on zoom:
private void mouseZoom(final double delta) { safeSetDistance(distance + delta * Math.log1p(distance)); }
So, when the distance is 0 and the minimumDistance is also 0 or lower you cant zoom out anymore. Also minimumDistance lower then 0 will cause distance to be NaN in some cases.
0
NaN
Pushed in version 201.
The following line is used to calculate the distance on zoom:
So, when the distance is
0
and the minimumDistance is also0
or lower you cant zoom out anymore. Also minimumDistance lower then0
will cause distance to beNaN
in some cases.