I\'ve been playing around with raycasting in 2D, and I\'ve been thinking about optimization when there are several objects to check against.
How the program currently wor