how can i compare the max and min values for x and y across five box objects? i've tried creating a vector in a new class but i don't know how to populate them with the local max's and min's for each box object. I am having trouble first comparing the data locally. I think if I can first get that right I can then create a new object using that data with member functions to work on that data but i think my sorting is still wrong.
You still don't see that you are making life hard for yourself by storing all 4 points for the box, instead of 2 like multiple people have said. Just have a bottom left point and a top right point.
I am inclined not to post any more replies until you take notice of what is being said to you. Mark 2 of these threads as solved and direct others to the other one. And pay attention to what we are saying.