You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Transform::flyTo loses more precision than Transform::easeTo when animating. Example:
Given point A LatLng { -45, -135 } and point B LatLng { 45, 135 }: Transform::easeTo from point A to B: LatLng { 44.999999999695532, 135.00000000038369 }
Latitude precision loss: 45 - 44.999999999695532 = 3.0446756E-10
Transform::flyToloses more precision thanTransform::easeTowhen animating. Example:Given point A
LatLng { -45, -135 }and point BLatLng { 45, 135 }:Transform::easeTofrom point A to B:LatLng { 44.999999999695532, 135.00000000038369 }45 - 44.999999999695532 = 3.0446756E-10135 - 135.00000000038369 = -3.8369308E-10Transform::flyTofrom point B to A:LatLng { -44.999808628745399, -135.00024116863571 }-45 + 44.999808628745399 = -1.9137125E-4-135 + 135.00024116863571 = 2.4116863E-4The exponent of precision loss from
easeTois -10, whileflyTois -4./cc @1ec5