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

Signed angle 2D #76

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Signed angle 2D #76

wants to merge 2 commits into from

Conversation

xix-xeaon
Copy link

I spent a lot of time trying to figure out why my code wasn't working, before finally identifying the angle function as the cause of the error. I thought I had the latest version but I didn't so I missed the fix in #74 and eventually solved it myself.

Sometime later I thought I should contribute my fix, only this time I discovered that the problem had already been solved. However, upon updating I realized that the function in #74 discards the sign of the angle, which is unfortunate because that information is extremely useful for a lot of things.

This version keeps the sign information (+PI to -PI), with positive values in the CCW direction as is traditional.

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.

1 participant