r/GraphicsProgramming • u/evangelionxyzw • Jun 30 '26
1 year of game engine development
Enable HLS to view with audio, or disable this notification
340
Upvotes
r/GraphicsProgramming • u/evangelionxyzw • Jun 30 '26
Enable HLS to view with audio, or disable this notification
View all comments
Show parent comment
2
u/ekr64 Jul 03 '26
You don't need sin and cos if you use quaternions leaving you with just multiplications and additions again. I'm not sure though how well that can be SIMD optimized and how it stacks up to SIMD optimized matrix multiplication.
Funnily OP is using the classic matrix approach without any optimizations at all instead of an optimized TRS approach.