Omnimaga

General Discussion => Other Discussions => Miscellaneous => Topic started by: Munchor on March 12, 2011, 06:52:38 pm

Title: Square Position Checking
Post by: Munchor on March 12, 2011, 06:52:38 pm
I'm tired and I can't think of this now but need to make this now...


I have two squares, and I need a condition to check if one of them (smaller or equal than the other) is inside it.

I have the x and y coordinates of both squares and both squares height and width.

What is the condition to make sure one is inside an other?

Thanks.

NEVERMIND

Sorry but I managed to do do it, but now I gotta sleep, wasted al my energy.