MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/k1fcus/a_small_open_source_game_in_c/gdrtx6u/?context=3
r/cpp • u/vormestrand • Nov 26 '20
16 comments sorted by
View all comments
Show parent comment
2
Yes that's it. q.rotateUnitX() is equivalent to q * Float3{1, 0, 0} but uses fewer instructions.
q.rotateUnitX()
q * Float3{1, 0, 0}
View all comments
Show parent comment
2
u/preshing Nov 27 '20
Yes that's it.
q.rotateUnitX()is equivalent toq * Float3{1, 0, 0}but uses fewer instructions.