summaryrefslogtreecommitdiff
blob: 229ac715be8127550447fc58a5ec4430e41e36cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
--- a/hacks/delaunay.c
+++ b/hacks/delaunay.c
@@ -87,9 +87,9 @@
   dy = yp - *yc;
   drsqr = dx*dx + dy*dy;
 
-  // Original
-  //return((drsqr <= *rsqr) ? TRUE : FALSE);
-  // Proposed by Chuck Morris
+  /* Original
+    return((drsqr <= *rsqr) ? TRUE : FALSE);
+     Proposed by Chuck Morris */
   return((drsqr - *rsqr) <= EPSILON ? TRUE : FALSE);
 }
 
--- a/hacks/tessellimage.c
+++ b/hacks/tessellimage.c
@@ -507,15 +507,15 @@
       out[i].p = (n > 0
                   ? (XPoint *) calloc (out[i].npoints + 1, sizeof (*out[i].p))
                   : 0);
-//printf("%d: ", i);
+/*printf("%d: ", i);*/
       for (j = 0; j < out[i].npoints; j++)
         {
           ITRIANGLE *tt = &v[t->tri[j]];
           out[i].p[j].x = (p[tt->p1].x + p[tt->p2].x + p[tt->p3].x) / 3;
           out[i].p[j].y = (p[tt->p1].y + p[tt->p2].y + p[tt->p3].y) / 3;
-//printf(" [%d: %d %d]", j, out[i].p[j].x, out[i].p[j].y);
+/*printf(" [%d: %d %d]", j, out[i].p[j].x, out[i].p[j].y);*/
         }
-//printf("\n");
+/*printf("\n");*/
     }
 
   free (vert_to_tri);