diff options
author | Vinson Lee <vlee@vmware.com> | 2010-01-09 23:55:05 -0800 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2010-01-09 23:55:05 -0800 |
commit | f5bb262171a035f47fdc1112f74d4522ed276ddb (patch) | |
tree | 113d6e05218e532d7eb682e8a43afab5c8840185 /src | |
parent | b65c8d4bee9e67f8a49eb778531c53b743b31099 (diff) |
glu/sgi: Initialize members of class StoredVertex.
Diffstat (limited to 'src')
-rw-r--r-- | src/libnurbs/interface/glsurfeval.h | 2 |
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; } |