View Full Version : GLU Tesselation callbacks

04-10-2001, 10:49 AM
Does anybody have a good example of a GLU_TESS_COMBINE callback function? The one in the redbook doesn't work for my purposes. Basically, I'm just trying to draw any non-convex polygon whose vertices are defined when a user plots them on the screen with the mouse. When the vertices get too close together, portions of the polygon are drawn far outside the intended boundary. I need to know how to code a GLU_TESS_COMBINE function that will generate vertices that the tesselator can handle.