summaryrefslogtreecommitdiff
path: root/src/glu
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2009-12-29 17:22:11 -0800
committerVinson Lee <vlee@vmware.com>2009-12-29 17:22:11 -0800
commit5060fb428d841154013a49af7d4efc3144792260 (patch)
tree0c42e3ece0f274e5be7605df4df284fdab940b49 /src/glu
parent495b8f8f7a58616d7b75a84d828e3ea356b9a1d4 (diff)
glu/sgi: Initialize members of class sampledLine.
Diffstat (limited to 'src/glu')
-rw-r--r--src/glu/sgi/libnurbs/nurbtess/sampledLine.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glu/sgi/libnurbs/nurbtess/sampledLine.cc b/src/glu/sgi/libnurbs/nurbtess/sampledLine.cc
index 6253a7c09d..89f6c6e23f 100644
--- 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!!!