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
Hi,
It seems like there is an issue with the calcul used in intersection(with:) function.
If you try this small example, you won't find any intersect point whereas it actually exist
Hi @florentdouine , thanks for pointing this out. I have committed a fix which is available in release 1.0.2.
The issue was caused by a very small rounding error in one of the functions that are called under the hood of intersection(with: ). It already allowed for a rounding error smaller than 1e-14, but I moved this to 1e-12. I must stretch here that the intent of Metron is to be accurately enough for UI and animation-related tasks, not for super exact geometry (therefore I chose to extend the CoreGraphics types, instead of introducing high-precision alternatives).
Thanks again for pointing it out!
Hi,
It seems like there is an issue with the calcul used in intersection(with:) function.
If you try this small example, you won't find any intersect point whereas it actually exist
The text was updated successfully, but these errors were encountered: