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
VideoCommon: allow Free Look to be manipulated by a quaternion #9366
VideoCommon: allow Free Look to be manipulated by a quaternion #9366
Conversation
cfc4629
to
c0d3ca7
Compare
c0d3ca7
to
39bb6a7
Compare
| @@ -56,6 +56,13 @@ Quaternion Quaternion::RotateZ(float rad) | |||
| return Rotate(rad, Vec3(0, 0, 1)); | |||
| } | |||
|
|
|||
| Quaternion Quaternion::RotateXYZ(const Vec3& rads) | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There should maybe be a comment that explains this produces a quaternion of simultaneous rotations about the 3 axes. e.g. processing gyroscope input.
I don't know if I like the name RotateXYZ, but I don't know what a better name is either. :P
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I'm horrible at naming things :D . Please let me know if you think of something better!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here are some suggestions "Rotate_all_axes" "3D_rotation" "Quaternion_rotation"
39bb6a7
to
f77fc52
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look sane, but the savestate version needs to be updated.
f77fc52
to
586c689
Compare
No description provided.