normal.c   normal.c 
skipping to change at line 157 skipping to change at line 157
} }
static void CheckOrientation(GLUEStesselator* tess) static void CheckOrientation(GLUEStesselator* tess)
{ {
GLfloat area; GLfloat area;
GLUESface* f, *fHead=&tess->mesh->fHead; GLUESface* f, *fHead=&tess->mesh->fHead;
GLUESvertex* v, *vHead=&tess->mesh->vHead; GLUESvertex* v, *vHead=&tess->mesh->vHead;
GLUEShalfEdge* e; GLUEShalfEdge* e;
/* When we compute the normal automatically, we choose the orientation /* When we compute the normal automatically, we choose the orientation
* so that the the sum of the signed areas of all contours is non-negati ve. * so that the sum of the signed areas of all contours is non-negative.
*/ */
area=0; area=0;
for (f=fHead->next; f!=fHead; f=f->next) for (f=fHead->next; f!=fHead; f=f->next)
{ {
e=f->anEdge; e=f->anEdge;
if (e->winding<=0) if (e->winding<=0)
{ {
continue; continue;
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/