kirbyquerby / phys2d

Automatically exported from code.google.com/p/phys2d
0 stars 0 forks source link

AABox: touches() should check for greater OR EQUAL #19

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
A small thing at AABox:

public boolean touches(float x, float y, AABox other, float otherx, float
othery) {
  // ...
  return (totalWidth >= dx) && (totalHeight >= dy);
}

Original issue reported on code.google.com by DannyLade on 12 Jul 2009 at 12:13