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

Improve precision of calcRotationAngleInDegrees #367

Merged
merged 1 commit into from
Jan 20, 2021

Conversation

Gamebuster19901
Copy link
Contributor

Removes some unnecessary casts to float which can cause a loss of precision. Those casts seem of remnants of when the Trigonometry class was used, see cf78755.

This needs to be tested first before merging, I don't have access to a project to test this with at the moment unfortunetly.

Removes some unnecessary casts to float which causes a loss of
precision.
@steffen-wilke steffen-wilke merged commit 3da85d9 into gurkenlabs:master Jan 20, 2021
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