OSDN Git Service

glu/sgi: Initialize members of class directedLine.
authorVinson Lee <vlee@vmware.com>
Tue, 29 Dec 2009 22:28:33 +0000 (14:28 -0800)
committerVinson Lee <vlee@vmware.com>
Tue, 29 Dec 2009 22:28:33 +0000 (14:28 -0800)
src/glu/sgi/libnurbs/nurbtess/directedLine.cc

index 5be1ae3..1ceda02 100644 (file)
@@ -309,6 +309,8 @@ directedLine::directedLine()
   nextPolygon = NULL;
   rootBit = 0;/*important to initilzae to 0 meaning not root yet*/
   rootLink = NULL;
+  direction = INCREASING;
+  sline = NULL;
 }
 
 directedLine::~directedLine()