Btw, it's not a triangle fan, I sort the angles and then make the polygon with the intersections. The first point in the center actually kind of worked! but there is a gap between 2 points. I also tryed to initialize the polygon points table with the last intersection but the overlap come back https...
Hi! I'm having some problems creating a shadow raycast library. The raycast is working perfectly https://love2d.org/imgmirrur/oQANv62.png But when I try to draw the shadow polygon it looks like the love.graphics.polygon is sort of "jumping" some of the points of the raycast https://love2d....