Browse Source

glu/sgi: Initialize members of class Knotvector.

tags/mesa-7.7-1
Vinson Lee 16 years ago
parent
commit
a349687d49
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      src/glu/sgi/libnurbs/internals/knotvector.cc

+ 3
- 0
src/glu/sgi/libnurbs/internals/knotvector.cc View 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;
}


Loading…
Cancel
Save