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

NedFrame.toHeading() calculation error #39

Open
t0034514 opened this issue Jul 14, 2017 · 0 comments
Open

NedFrame.toHeading() calculation error #39

t0034514 opened this issue Jul 14, 2017 · 0 comments

Comments

@t0034514
Copy link

When dealing with angles less than 0, the code is:

degrees += degrees + 360;

which is clearly a typeo, it should be

degrees = degrees + 360; // Or degrees += 360;

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

No branches or pull requests

1 participant