During tesselation of a polygonal Face (outline, filled or solid), an object which implements this interface can be used to compute a different color for each vertex.
Member Function Documentation
virtual GLfloat* OGLFT::ColorTess::color
(
GLdouble *
p
)
[pure virtual]
Compute a color for this position. Note that the position is in the glyph's local coordinate system.
Parameters:
p
vertex position in glyph's local coordinate system. Argument is a GLdouble[3].
Returns:
GLfloat[4] (RGBA) color specification.
The documentation for this class was generated from the following file: