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

Fix Quaternion(euler angle order -> roundtrip tests) #949

Merged
merged 1 commit into from
Aug 18, 2019
Merged

Fix Quaternion(euler angle order -> roundtrip tests) #949

merged 1 commit into from
Aug 18, 2019

Conversation

jvbsl
Copy link
Contributor

@jvbsl jvbsl commented Aug 17, 2019

  • Use xyz order for quaternion to euler angles conversion(Same as currently used in euler to quaternion)
  • Quaternion roundtrip test: compare components seperately for less precision loss

PR to fix the quaternion roundtrip test.
Before mixed standard for euler angles where used. Which results in roundtrip not working.
Now uses same euler angles as the quaternion ctor.(xyz order)

…rently used in euler to quaternion)

* Quaternion roundtrip test: compare components seperately for less precision loss
@jvbsl jvbsl changed the title * Use xyz order for quaternion to euler angles conversion(Same as cur… Fix Quaternion(euler angle order -> roundtrip tests) Aug 17, 2019
Copy link
Member

@frederikja163 frederikja163 left a comment

Choose a reason for hiding this comment

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

Beatiful

@frederikja163 frederikja163 merged commit 28fa515 into opentk:master Aug 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants