an AABB can be defined using two methods.
The first method is to define an AABB as a min and a max.
Using this methode, extents is the vector 0.5f * ( max - min ), center is 0.5 * ( min + max ).
The second method is to define directly an AAAB as a center and extents.
Both method works but what method do you prefer and why ?
I seen a lot of people who use the min/max method.
XNA use the second (center+extents) and says :
The bounding volume structures are setup for near minimum size because thereare likely to be many of them, and memory bandwidth and space will be at apremium relative to CPU cycles on Xbox 360.