Issue #215 closed
colliderect() sometimes returns 0 where it should clearly return 1. A few tests suggest that this is due to careless rounding down.
Example of intersecting rectangles for which colliderect() returns 0:
>>> r1 = Rect((0.1,0),(10,10)) >>> r2 = Rect((10,0),(10,10)) >>> r1.colliderect(r2) 0 >>> r2.colliderect(r1) 0
And similarly in the y direction.