How can I find the total bounds rectangle around a list of rectangles?
Rectangle object: a simple data structure of 4 floats (w,h,x,y).
I have an array of 2 or more rectangles and want to create a rectangle that surrounds all of them:
The result rectangle, calculated from rectangles A and B: Rectangle T : ( Ht, Wt, Xt , Yt)