pygame-geometry
pygame-geometry copied to clipboard
Make raycast() compatible with polygons
Right now the geometry.raycast function is compatible with Circles, Lines and Rects but not Polygons. It would suffice to have a simple implementation that just does N ray-Line raycasts for now. We can always try to optimize that in the future.