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
Angle.normalized() doesn't correctly map the angle to the supplied normalization range. You can see that in the test code where it reports angles well outside of 0 to TAU. It also changes angles that are already in the normalized range when it shouldn't. Maybe I'm misunderstanding the intended usage...
I can submit a working example as a pull request if you like. With an option for normalizing negative angles back to their positive equivalent
The text was updated successfully, but these errors were encountered:
pondersome
changed the title
normalized is broken
Angle.normalized() results look wrong
Jun 12, 2024
Angle.normalized() doesn't correctly map the angle to the supplied normalization range. You can see that in the test code where it reports angles well outside of 0 to TAU. It also changes angles that are already in the normalized range when it shouldn't. Maybe I'm misunderstanding the intended usage...
I can submit a working example as a pull request if you like. With an option for normalizing negative angles back to their positive equivalent
The text was updated successfully, but these errors were encountered: