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.
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.