diff options
author | Gareth Hughes <[email protected]> | 1999-09-17 06:31:02 +0000 |
---|---|---|
committer | Gareth Hughes <[email protected]> | 1999-09-17 06:31:02 +0000 |
commit | b32966fc806187e8c2032236d9f33ac60fa8e873 (patch) | |
tree | e9f03afd7f4ddfd438ca26bbd173a3ebaa762b3a /src/glu/mesa/tess.c | |
parent | 727f35a518f4793a6597a2a4192278dd32b12ae5 (diff) |
Winding rule updates.
Diffstat (limited to 'src/glu/mesa/tess.c')
-rw-r--r-- | src/glu/mesa/tess.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/glu/mesa/tess.c b/src/glu/mesa/tess.c index de5a4f3cc61..36197619306 100644 --- a/src/glu/mesa/tess.c +++ b/src/glu/mesa/tess.c @@ -1,4 +1,4 @@ -/* $Id: tess.c,v 1.8 1999/09/17 03:07:28 tjump Exp $ */ +/* $Id: tess.c,v 1.9 1999/09/17 06:34:46 gareth Exp $ */ /* * Mesa 3-D graphics library @@ -26,6 +26,9 @@ /* * $Log: tess.c,v $ + * Revision 1.9 1999/09/17 06:34:46 gareth + * Winding rule updates. + * * Revision 1.8 1999/09/17 03:07:28 tjump * Win32 build req't updates * @@ -120,6 +123,7 @@ GLUtesselator* GLAPIENTRY gluNewTess( void ) #if 0 tobj->grid = NULL; #endif + tobj->cvc_lists = NULL; tobj->error = GLU_NO_ERROR; @@ -265,6 +269,9 @@ void GLAPIENTRY gluTessVertex( GLUtesselator *tobj, GLdouble coords[3], last_vertex->coords[Y] = coords[Y]; last_vertex->coords[Z] = coords[Z]; + last_vertex->angle = 0.0; + last_vertex->label = 0; + last_vertex->next = NULL; last_vertex->previous = NULL; @@ -289,6 +296,9 @@ void GLAPIENTRY gluTessVertex( GLUtesselator *tobj, GLdouble coords[3], vertex->coords[Y] = coords[Y]; vertex->coords[Z] = coords[Z]; + vertex->angle = 0.0; + vertex->label = 0; + vertex->next = NULL; vertex->previous = last_vertex; |