by throwaway2027 · 10mo ago · 0 comments
Why not just do struct aabb { float mins[3]; float maxs[3]; };
I'm guessing here. I haven't written video games in 20 years but struct packing/alignment was super important on the Sony PSP back then.
new_box.mins = _mm_min_ps(a.mins[3], b.mins[3]);