struct aabb1{
int x, y;
int width, height;
}
struct aabb2{
int left;
int up;
int right;
int down;
}
I am used to the first type (it's what SDL uses), but recently I've encountered the second type, and the symmetry of it seems pretty attractive.Which format for AABB is more commonly used?