Implemented simple shadow-casting for convex 2D objects.