diff options
author | Vinson Lee <vlee@vmware.com> | 2010-01-01 14:46:11 -0800 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2010-01-01 14:46:30 -0800 |
commit | a349687d499a76496dc9433d5437398f774f0bd4 (patch) | |
tree | 5232b004ad06221a8d991b7af2b1c6e8778c41ed /src/glu | |
parent | 5d3d202ac991bd1a67ba40f4be145621b35620fe (diff) |
glu/sgi: Initialize members of class Knotvector.
Diffstat (limited to 'src/glu')
-rw-r--r-- | src/glu/sgi/libnurbs/internals/knotvector.cc | 3 |
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; } |