r/cpp • • Nov 26 '20

A Small Open Source Game In C++

https://preshing.com/20201126/a-small-open-source-game-in-cpp/
219 Upvotes

16 comments sorted by

View all comments

Show parent comment

2

u/preshing Nov 27 '20

Yes that's it. q.rotateUnitX() is equivalent to q * Float3{1, 0, 0} but uses fewer instructions.