4 ms·
For some simpler vector stuff that's only C (and basically mostly SSE), I tend to use a personal fork of this for my toy games: https://github.com/rikusalminen/
by aktau 12y ago
For some simpler vector stuff that's only C (and basically mostly SSE), I tend to use a personal fork of this for my toy games: https://github.com/rikusalminen/threedee-simd https://github.com/rikusalminen/threedee-simd
The simplicity is what gets to me:
vcross(v1, v2) * v3 (with gcc/clangs vector extensions)
Great codegen too.