summaryrefslogtreecommitdiff
path: root/src/glu
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-01-01 14:46:11 -0800
committerVinson Lee <vlee@vmware.com>2010-01-01 14:46:30 -0800
commita349687d499a76496dc9433d5437398f774f0bd4 (patch)
tree5232b004ad06221a8d991b7af2b1c6e8778c41ed /src/glu
parent5d3d202ac991bd1a67ba40f4be145621b35620fe (diff)
glu/sgi: Initialize members of class Knotvector.
Diffstat (limited to 'src/glu')
-rw-r--r--src/glu/sgi/libnurbs/internals/knotvector.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glu/sgi/libnurbs/internals/knotvector.cc b/src/glu/sgi/libnurbs/internals/knotvector.cc
index 9eb5cbace9..dcbf0067d8 100644
--- a/src/glu/sgi/libnurbs/internals/knotvector.cc
+++ b/src/glu/sgi/libnurbs/internals/knotvector.cc
@@ -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;
}