summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-01-09 23:55:05 -0800
committerVinson Lee <vlee@vmware.com>2010-01-09 23:55:05 -0800
commitf5bb262171a035f47fdc1112f74d4522ed276ddb (patch)
tree113d6e05218e532d7eb682e8a43afab5c8840185 /src
parentb65c8d4bee9e67f8a49eb778531c53b743b31099 (diff)
glu/sgi: Initialize members of class StoredVertex.
Diffstat (limited to 'src')
-rw-r--r--src/libnurbs/interface/glsurfeval.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libnurbs/interface/glsurfeval.h b/src/libnurbs/interface/glsurfeval.h
index 1567c6b..621e593 100644
--- a/src/libnurbs/interface/glsurfeval.h
+++ b/src/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; }