aabb_zup_to_yup

Function aabb_zup_to_yup 

Source
pub fn aabb_zup_to_yup<T: Copy + Neg<Output = T>>(b: [T; 6]) -> [T; 6]
Expand description

Swap an AABB [minx, miny, minz, maxx, maxy, maxz] from Z-up to Y-up. Swapping min/max per component is WRONG: negating Y flips which corner is the min along the new Z, so the new Z range is [-maxY, -minY].

Generic so the f32 local bounds and the f64 world AABBs share one reversal.