]> git.mxchange.org Git - flightgear.git/commit
Reversing the order of points causes the area calculation to return a
authorcurt <curt>
Thu, 10 Jun 1999 02:01:09 +0000 (02:01 +0000)
committercurt <curt>
Thu, 10 Jun 1999 02:01:09 +0000 (02:01 +0000)
commit20e014a16e3fd18a1609339e44a30968a182d281
treefb809a2bbaa748bdee94e89871ee2ff994566049
parent3b51535fc039bd83619cb030b717540464f09f6f
Reversing the order of points causes the area calculation to return a
negative number.  Polygon holes are wound opposite of non-holes.  I was
throwing out holes with area < epsilon (i.e. all holes) ... enough said.
Tools/Construct/Clipper/clipper.cxx
Tools/Construct/Triangulate/polygon.cxx
Tools/Construct/Triangulate/triangle.cxx