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

Math.atan2 calls are using arguments in the wrong order #724

Merged
merged 3 commits into from Apr 15, 2014
Merged

Math.atan2 calls are using arguments in the wrong order #724

merged 3 commits into from Apr 15, 2014

Conversation

jotson
Copy link
Contributor

@jotson jotson commented Apr 15, 2014

Three Math.atan2 calls are sending the arguments in the wrong order according to the documentation. The bug causes these functions to return the wrong angles. Every other usage of Math.atan2() is using the arguments in the correct order.

@photonstorm
Copy link
Collaborator

👍 thanks

photonstorm added a commit that referenced this pull request Apr 15, 2014
Math.atan2 calls are using arguments in the wrong order
@photonstorm photonstorm merged commit d9e5b40 into phaserjs:dev Apr 15, 2014
@jotson jotson deleted the dev branch April 15, 2014 01:14
@Fishrock123
Copy link
Contributor

ahaha

good 'ol atan2.

messing with vector argument order since ~1966.

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.

None yet

3 participants