Open GoogleCodeExporter opened 9 years ago
I encountered this as well. It seems to cause the area calculation to result in
a
negative number, so my workaround was to just test the polygon's area before
adding
it to the world.
if (p.area < 0) {
vertices.reverse();
p = new phx.Polygon(vertices, origin, myMaterial);
}
Original comment by michal.w...@gmail.com
on 2 Jan 2010 at 8:00
Original issue reported on code.google.com by
p.witv...@gmail.com
on 2 Nov 2009 at 8:26