dri: Rework planar image interface
[mesa.git] / src / glu / sgi / libtess / normal.c
index 0a2494be343d4a8c1efafa27b32f3b9aede61773..9a3bd43d3c9ef84c39f1aae406a6fc4a3568ac88 100644 (file)
 #include <math.h>
 #include <assert.h>
 
+#ifndef TRUE
 #define TRUE 1
+#endif
+#ifndef FALSE
 #define FALSE 0
+#endif
 
 #define Dot(u,v)       (u[0]*v[0] + u[1]*v[1] + u[2]*v[2])
 
@@ -142,7 +146,7 @@ static void CheckOrientation( GLUtesselator *tess )
   GLUhalfEdge *e;
 
   /* When we compute the normal automatically, we choose the orientation
-   * so that the the sum of the signed areas of all contours is non-negative.
+   * so that the sum of the signed areas of all contours is non-negative.
    */
   area = 0;
   for( f = fHead->next; f != fHead; f = f->next ) {