29 #if defined(_WINDOWS) || defined(__CYGWIN__)
30 #define CALLBACK __stdcall
42 GLdouble * vertex =
new GLdouble[3];
43 vertex[0] = coords[0];
44 vertex[1] = coords[1];
45 vertex[2] = coords[2];
51 const GLubyte * estring = gluErrorString(errorCode);
52 std::cout <<
"Glu Tesselation error: " << estring << std::endl;
66 glVertex3dv((GLdouble*) data);
106 gluTessProperty(
m_GluTesselator, GLU_TESS_BOUNDARY_ONLY, boundaryOnly);
149 PointVectorType::iterator it;
152 data[i] =
new GLdouble[3];
153 data[i][0] = (*it)[0];
154 data[i][1] = (*it)[1];
155 data[i][2] = (*it)[2];