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

Radian conversion in 3D rotation does not work #2680

Closed
dekmm opened this issue Mar 3, 2018 · 2 comments
Closed

Radian conversion in 3D rotation does not work #2680

dekmm opened this issue Mar 3, 2018 · 2 comments

Comments

@dekmm
Copy link
Contributor

dekmm commented Mar 3, 2018

After setting the angleMode() to degrees in setup(), calling the rotateX/Y/Z function with an angle expressed in the degrees as a parameter does not execute properly.

I've created a perspective camera and box in the scene. After trying to rotate 1 degree, it would actually rotate around 30-45 degrees.

I've temporarily patched this by adding an angle mode check inside the generated library.

@Spongman
Copy link
Contributor

Spongman commented Mar 3, 2018

i think this maybe a dupe of #2533 which has been fixed (#2552) but not yet released.

@dekmm
Copy link
Contributor Author

dekmm commented Mar 3, 2018

You're correct, closing the issue

@dekmm dekmm closed this as completed Mar 3, 2018
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

2 participants