Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: rotate concave Polygon's internal convexPolygon cache #78

Merged
merged 4 commits into from
Jul 15, 2024

Conversation

RedPhoenixQ
Copy link
Contributor

When rotating a concave polygon the internal convexPolygon array was not updated to reflect the rotation. This fixes the issue by updating the angle value at the same time the positions are updated in the cache.

A rotation of Pi radiants inverts all points in the polygon so all points
are inverted before the rotations
@Prozi
Copy link
Owner

Prozi commented Jul 15, 2024

@RedPhoenixQ another great contribution!!! thank you <3

@Prozi Prozi merged commit 1da9ea2 into Prozi:master Jul 15, 2024
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants