Name
rectangle-overlap? -- Returns
#t iff the two specified rectangles overlap.
Synopsis
(rectangle-overlap? x1 y1 w1 h1 x2 y2 w2 h2)
Description
Returns #t iff the two specified rectangles overlap.
X1,Y1 and W1 x H1 are the position and size of the first rectangle.
X2,Y2 and W2 x H2 are the position and size of the second rectangle.