http://tekpool.wordpress.com/2006/10/11/rectangle-intersection-determine-if-two-given-rectangles-intersect-each-other-or-not/구글에서 rectangle intersect로만 검색해도 나오는데... 아무튼 간에 좌표축에 평행한 사각형이라면 4번의 조건문으로 충분하다.
댓글 0