glu/sgi: Initialize members of class StoredVertex.

This commit is contained in:
Vinson Lee 2010-01-09 23:55:05 -08:00
parent 61afd1158f
commit a5815c36f7
1 changed files with 1 additions and 1 deletions

View File

@ -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; }