diff options
author | Vinson Lee <[email protected]> | 2009-12-29 17:22:11 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2009-12-29 17:22:11 -0800 |
commit | 5060fb428d841154013a49af7d4efc3144792260 (patch) | |
tree | 0c42e3ece0f274e5be7605df4df284fdab940b49 /src/glu/sgi/libnurbs/nurbtess | |
parent | 495b8f8f7a58616d7b75a84d828e3ea356b9a1d4 (diff) |
glu/sgi: Initialize members of class sampledLine.
Diffstat (limited to 'src/glu/sgi/libnurbs/nurbtess')
-rw-r--r-- | src/glu/sgi/libnurbs/nurbtess/sampledLine.cc | 3 |
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 6253a7c09d3..89f6c6e23fe 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!!! |