summaryrefslogtreecommitdiffstats
path: root/src/glu/sgi/libnurbs/interface/glsurfeval.h
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-01-09 23:55:05 -0800
committerVinson Lee <[email protected]>2010-01-09 23:55:05 -0800
commita5815c36f77d150e4a9915a8b289df2aa942c23c (patch)
tree2f229298b7323e8755af92d5cef67977769aea16 /src/glu/sgi/libnurbs/interface/glsurfeval.h
parent61afd1158fb7d0577effd817a8f9cba7fb2a2bbd (diff)
glu/sgi: Initialize members of class StoredVertex.
Diffstat (limited to 'src/glu/sgi/libnurbs/interface/glsurfeval.h')
-rw-r--r--src/glu/sgi/libnurbs/interface/glsurfeval.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glu/sgi/libnurbs/interface/glsurfeval.h b/src/glu/sgi/libnurbs/interface/glsurfeval.h
index 1567c6b098c..621e59391aa 100644
--- a/src/glu/sgi/libnurbs/interface/glsurfeval.h
+++ b/src/glu/sgi/libnurbs/interface/glsurfeval.h
@@ -83,7 +83,7 @@ typedef struct surfEvalMachine{
class StoredVertex {
public:
- StoredVertex() { type = 0; }
+ StoredVertex() { type = 0; coord[0] = 0; coord[1] = 0; point[0] = 0; point[1] = 0; }
~StoredVertex(void) {}
void saveEvalCoord(REAL x, REAL y)
{coord[0] = x; coord[1] = y; type = TYPECOORD; }