glu/sgi: Initialize members of class Knotvector.
authorVinson Lee <vlee@vmware.com>
Fri, 1 Jan 2010 22:46:11 +0000 (14:46 -0800)
committerVinson Lee <vlee@vmware.com>
Fri, 1 Jan 2010 22:46:30 +0000 (14:46 -0800)
src/glu/sgi/libnurbs/internals/knotvector.cc

index 9eb5cbace948e05a232aebac74ca54e37a9033b9..dcbf0067d854762cb3f2a1a2c14c91ac2954b0f9 100644 (file)
@@ -61,6 +61,9 @@ void Knotvector::init( long _knotcount, long _stride, long _order, INREAL *_knot
 
 Knotvector::Knotvector( void )
 {
+    knotcount = 0;
+    stride = 0;
+    order = 0;
     knotlist = 0;
 }