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
Yup, it shouldn't modify the inputs. Happy to accept a PR for this! Using arrays is infeasible though as the library intentionally supports runtime-determined dimensionality.
NewRectFromPoints
currently modifies its input slices without any warning in the documentation to the caller.This can result in hours of troubleshooting, as it only happens if some first coordinate is above the second coordinate.
Also consider using value types (arrays) instead of reference types (slices).
The text was updated successfully, but these errors were encountered: