-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
orientate3 vs. orientate4 #207
Comments
I would guess that both approaches are wrong. Shouldn't the correct solution be |
You are right orientate3 is broken. This is now fixed in GLM 0.9.5 branch. Maybe logically the function should be "yawPitchRoll(angles.y, angles.x, angles.z);" but the implementation work in reverse order... Thanks for contributing, |
Still confused as to why orientate4 is calling yawPitchRoll with the parameters ZXY... the function eulerAnglesYXZ has exactly the same implementation as yawPitchRoll, so does that expect the same ordering as well? Something's not right here... |
There seems to be an inconsistency between orientate3 vs. orientate4 (eulers_angles.inl). Note that the parameters of yawPitchRoll is different. I believe the orientate4 is the correct order.
The text was updated successfully, but these errors were encountered: