in reply to Re^2: Checking if squares intersect
in thread Checking if squares intersect
x4 is absent, so there's surely an error
Adjacent squares don't intersect, so
< should be <=
> should be >=
You didn't indicate whether lower "y" values are located higher (that's what you used) or lower (cartesian), so I can't verify the if you are comparing the "y"s properly.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Checking if squares intersect
by Anonymous Monk on Oct 14, 2009 at 20:51 UTC | |
by ikegami (Patriarch) on Oct 14, 2009 at 21:13 UTC | |
by QM (Parson) on Oct 15, 2009 at 02:49 UTC | |
by Anonymous Monk on Oct 15, 2009 at 14:43 UTC | |
by ikegami (Patriarch) on Oct 20, 2009 at 01:17 UTC |