역량강화/CAD (1) 썸네일형 리스트형 2D 사각형 간의 간섭 체크 하는 방법 1. 소스 코드 bool isOverlapped = false; if (RectA.X1 RectB.X1 && RectA.Y1 > RectB.Y2 && RectA.Y2 < RectB.Y1) isOverlapped = true; https://stackoverflow.com/questions/306316/determine-if-two-rectangles-overlap-each-other Determine if two rectangles overlap each other? I am trying to write a C++ program that takes the following inputs from the user to construct rectangles (bet.. 이전 1 다음