diff options
author | Vinson Lee <[email protected]> | 2010-01-09 23:55:05 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2010-01-09 23:55:05 -0800 |
commit | a5815c36f77d150e4a9915a8b289df2aa942c23c (patch) | |
tree | 2f229298b7323e8755af92d5cef67977769aea16 | |
parent | 61afd1158fb7d0577effd817a8f9cba7fb2a2bbd (diff) |
glu/sgi: Initialize members of class StoredVertex.
-rw-r--r-- | src/glu/sgi/libnurbs/interface/glsurfeval.h | 2 |
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; } |