Main Page   Namespace List   Alphabetical List   Data Structures   File List   Data Fields   Globals  

tesspoly.h File Reference

Go to the source code of this file.

Data Structures

class  TessPoly

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.


Function Documentation

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.

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.

void vertexCallback void *    vertex
 

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.


Generated on Wed Feb 18 16:32:52 2004 for POVAMA by doxygen1.2.18