projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d3d202
)
glu/sgi: Initialize members of class Knotvector.
author
Vinson Lee
<vlee@vmware.com>
Fri, 1 Jan 2010 22:46:11 +0000
(14:46 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Fri, 1 Jan 2010 22:46:30 +0000
(14:46 -0800)
src/glu/sgi/libnurbs/internals/knotvector.cc
patch
|
blob
|
history
diff --git
a/src/glu/sgi/libnurbs/internals/knotvector.cc
b/src/glu/sgi/libnurbs/internals/knotvector.cc
index 9eb5cbace948e05a232aebac74ca54e37a9033b9..dcbf0067d854762cb3f2a1a2c14c91ac2954b0f9 100644
(file)
--- 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;
}