Functions | |
void | combineCallback (double coords[3], double *vertex_data[4], float weight[4], double **dataOut) |
Callback used to interpolate the average RGB values for newly created vertices. | |
void | vertexCallback (void *vertex) |
References the coordinate and color data. | |
void | errorCallback (void *v) |
|
Callback used to interpolate the average RGB values for newly created vertices. combineCallback( ) returns new vertex coordinates and color data if the GLU_TESS_COMBINE is invoked. The new vertex is created by referencing the contents of vertex_data. coords is the location of the new vertex. weight[4] is used to interpolate the average RGB value for newly created vertices. |
|
callback used to display tesselation errors to stdout |
|
References the coordinate and color data. vertexCallback( ). This function creates a pointer to the vertex's data (the vertex_data pointer) that is passed to it and references the coordinate and color data. |