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

Wrap player yaw to positive degree values #5106

Merged
merged 1 commit into from
Jan 24, 2017
Merged

Conversation

raymoo
Copy link
Contributor

@raymoo raymoo commented Jan 23, 2017

Player yaw is currently stored and represented as values between -360 and 360, which leads to some redundancy. This PR changes it so that it is represented as a value between 0 and 360.

@raymoo
Copy link
Contributor Author

raymoo commented Jan 23, 2017

Related issue: #5104

Copy link
Member

@nerzhul nerzhul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okay for me

@paramat
Copy link
Contributor

paramat commented Jan 24, 2017

👍 if tested.

@nerzhul nerzhul merged commit 87e9466 into minetest:master Jan 24, 2017
Ekdohibs pushed a commit to Ekdohibs/minetest that referenced this pull request Feb 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants