Tagged With: Math
Cutting Concave Polygons
Remember my last post on how to turn concave polygons into convex ones so that you can actually use them in Box2D? Well, turns out my solution didn't quite work out that well. The thing is, if you mess up the order of vertices in the polygon (Box2D requires them to be in counter-clockwise order), … Continue reading
Categories: Game Development, Java, Programming
Tags: Algorithm, Code, Convex Polygons, Game Dev, Math, Polygon, Raycasting, Repository, Vertex Order
Leave a comment