pygame-geometry icon indicating copy to clipboard operation
pygame-geometry copied to clipboard

Make raycast() compatible with polygons

Open itzpr3d4t0r opened this issue 2 years ago • 0 comments

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.

itzpr3d4t0r avatar Jan 12 '23 15:01 itzpr3d4t0r