I have an axis aligned bounding box for each mesh in a scene (multiple meshes in the scene), which I want to minimize the AABB's for all meshes by rotating the entire scene (this will be done in a precomputation step so the user will never feel this algorithm).
How do I find the rotation that will minimize the AABB across all meshes in a scene (I understand that it won't be the absolute minimum BB for each mesh, but overall it will be the smallest AABB's for a single scene axis)?