+ //gluTessCallback(i->tesselator, GLU_TESS_COMBINE, (callbackfunction_t)combineCallback);
+
+ i->tesselator_line = gluNewTess();
+ gluTessCallback(i->tesselator_line, GLU_TESS_ERROR, (callbackfunction_t)errorCallback);
+ gluTessCallback(i->tesselator_line, GLU_TESS_VERTEX, (callbackfunction_t)vertexCallback);
+ gluTessCallback(i->tesselator_line, GLU_TESS_BEGIN, (callbackfunction_t)beginCallback);
+ gluTessCallback(i->tesselator_line, GLU_TESS_END, (callbackfunction_t)endCallback);
+ gluTessProperty(i->tesselator_line, GLU_TESS_BOUNDARY_ONLY, 1.0);