From b32966fc806187e8c2032236d9f33ac60fa8e873 Mon Sep 17 00:00:00 2001 From: Gareth Hughes Date: Fri, 17 Sep 1999 06:31:02 +0000 Subject: Winding rule updates. --- src/glu/mesa/tess.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'src/glu/mesa/tess.c') diff --git a/src/glu/mesa/tess.c b/src/glu/mesa/tess.c index de5a4f3cc6..3619761930 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; -- cgit v1.2.3