The type the callback determined the parameter type
OpenGL Programming Guide (Addison-Wesley Publishing Company)
Polygon Tessellation
|
|---|
|
|
|---|---|
| 1. |
|
| 2. | |
| 3. | |
| 4. | |
| 5. | |
http://heron.cc.ukans.edu/ebt-bin/nph-dweb/dynaw...Generic__BookTextView/23085;cs=fullhtml;pt=21145 (2 of 22) [4/28/2000 9:47:07 PM]
OpenGL Programming Guide (Addison-Wesley Publishing Company)
GLUtesselator* gluNewTess(void);
Creates a new tessellation object and returns a pointer to it. A null pointer is returned if the
Any functions that are omitted are simply not called during the tessellation, and any information they might have returned to your program is lost. All are specified by the single routine gluTessCallback().
void gluTessCallback(GLUtesselator *tessobj, GLenum type, void (*fn)());
GLU_TESS_EDGE_FLAG_DATA void edgeFlag(GLboolean flag, void *user_data);
http://heron.cc.ukans.edu/ebt-bin/nph-dweb/dynaw...Generic__BookTextView/23085;cs=fullhtml;pt=21145 (3 of 22) [4/28/2000 9:47:07 PM]


