]> granicus.if.org Git - graphviz/commitdiff
Add comment on point order in polygon for triangulation to work
authorEmden R. Gansner <erg@alum.mit.edu>
Fri, 6 Jun 2014 19:37:11 +0000 (15:37 -0400)
committerEmden R. Gansner <erg@alum.mit.edu>
Fri, 6 Jun 2014 19:37:11 +0000 (15:37 -0400)
lib/pathplan/tri.h

index 136feec56d1de95a22f8538827c6dd04d408747c..b27daed758d5eec52b87e09d8bdb003d85f40fd4 100644 (file)
@@ -17,6 +17,8 @@ extern "C" {
 
 
 #include <pathgeom.h>
+
+/* Points in polygon must be in CCW order */
     int Ptriangulate(Ppoly_t * polygon,
                      void (*fn) (void *closure, Ppoint_t tri[]),
                      void *vc);