From a5815c36f77d150e4a9915a8b289df2aa942c23c Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Sat, 9 Jan 2010 23:55:05 -0800 Subject: glu/sgi: Initialize members of class StoredVertex. --- src/glu/sgi/libnurbs/interface/glsurfeval.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/glu') diff --git a/src/glu/sgi/libnurbs/interface/glsurfeval.h b/src/glu/sgi/libnurbs/interface/glsurfeval.h index 1567c6b098..621e59391a 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; } -- cgit v1.2.3