-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Updated examples to glm #6389
Updated examples to glm #6389
Conversation
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.
Review complete. Changes submitted via PR.
Glm examples
fixes for ios.
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.
ok
My visual inspection of the iOS examples was successful. As soon as we figure out the quaternion issue #6327 and confirm android, I think this is ready to go. |
good, I hope we get the ofQuat issue solved soon. I will check androind over the next days and report back. |
@ofTheo @roymacdonald Roy -- did you make the |
@bakercp Nope. This function we found that glm has it does not act in the same way as the ofQuaternion. I was testing it while in Denver, I'll look at it again tomorrow. But i think that it is fine to merge all this as-is, and then I make a different PR with the fixed orientation example. |
@roymacdonald sounds good. Are you able to make the changes I mentioned above? Basically avoid empty constructors that don't set initial values as that will give undefined results. |
@ofTheo sorry but I am not following. which changes did you mention? Where are those empty constructors? |
sorry @roymacdonald I think my review requesting changes wasn't public. see above! Thanks! |
ps: @roymacdonald I think glm::rotation is a 1:1 replacement for ofQuaternion::makeRotate Here is a quick example that switches between the two.
|
Thanks @roymacdonald ! |
Super. Now on what does it depend to get it merged? |
thanks roy! |
Epic. Thanks @roymacdonald ! |
👏👏 thx 👏👏 |
I made a big mistake with git and the easiest way to fix it was to get simply copy all the modified examples over the master and commit and PR again.
@bakercp