pygame-geometry
pygame-geometry copied to clipboard
🐍🎮-🔷 pygame with polygons, circles, lines, and raycasting
All shapes have bool collision functions that return `True` if they overlap with another shape, both of matching, unmatching and general (collideswith) type. We should implement similar intersection methods, but...
Closes #217. Also adds a new internal function called `_pg_line_collideswith` for convenience. The collideswith function's implementation got changed to use this new internal function. It's worth noting that at the...
I propose adding the following new methods to the `Line` class: - `flip_x()` -> flips the line along the x-axis - `flip_y()` -> flips the line along the y-axis -...