projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
495b8f8
)
glu/sgi: Initialize members of class sampledLine.
author
Vinson Lee
<vlee@vmware.com>
Wed, 30 Dec 2009 01:22:11 +0000
(17:22 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Wed, 30 Dec 2009 01:22:11 +0000
(17:22 -0800)
src/glu/sgi/libnurbs/nurbtess/sampledLine.cc
patch
|
blob
|
history
diff --git
a/src/glu/sgi/libnurbs/nurbtess/sampledLine.cc
b/src/glu/sgi/libnurbs/nurbtess/sampledLine.cc
index 6253a7c09d3767a27a50a8b59d7bded61fa30456..89f6c6e23fe7829ae07d956cb49be6720917c186 100644
(file)
--- a/
src/glu/sgi/libnurbs/nurbtess/sampledLine.cc
+++ b/
src/glu/sgi/libnurbs/nurbtess/sampledLine.cc
@@
-107,6
+107,9
@@
sampledLine::sampledLine(Real pt1[2], Real pt2[2])
//needs tp call init to setup
sampledLine::sampledLine()
{
+ npoints = 0;
+ points = NULL;
+ next = NULL;
}
//warning: ONLY pointer is copies!!!