original commit: fe015405d5606a6a13ce2496d641ac3d952f0361
This commit is contained in:
Robby Findler 2002-09-22 19:53:00 +00:00
parent b099611dcf
commit ff75fd6caf

View File

@ -362,14 +362,10 @@
[x2 (+ xt (/ wt 2))] [x2 (+ xt (/ wt 2))]
[y2 (+ yt (/ ht 2))]) [y2 (+ yt (/ ht 2))])
(unless (or (and (x1 . <= . left) (when (or (and (<= left x1 right)
(x2 . <= . left)) (<= top y1 bottom))
(and (x1 . >= . right) (and (<= left x2 right)
(x2 . >= . right)) (<= top y2 bottom)))
(and (y1 . <= . top)
(y2 . <= . top))
(and (y1 . >= . bottom)
(y2 . >= . bottom)))
(let-values ([(from-x from-y) (let-values ([(from-x from-y)
(or-2v (find-intersection x1 y1 x2 y2 (or-2v (find-intersection x1 y1 x2 y2