#include <OGLFT.h>
Public Methods | |
| VertexInfo (ColorTess *color_tess=0, TextureTess *texture_tess=0) | |
| VertexInfo (FT_Vector *ft_v, ColorTess *color_tess=0, TextureTess *texture_tess=0) | |
| VertexInfo (double p[2], ColorTess *color_tess=0, TextureTess *texture_tess=0) | |
| VertexInfo (double x, double y, ColorTess *color_tess=0, TextureTess *texture_tess=0) | |
| void | normalize (void) |
Public Attributes | |
| double | v_ [3] |
| ColorTess * | color_tess_ |
| TextureTess * | texture_tess_ |
VertexInfo also contains (optional) pointers to objects which implement the ColorTess and TextureTess interfaces.
|
||||||||||||
|
Default constructor just initializes Vertex to zero.
|
|
||||||||||||||||
|
Construct a Vertex from a point in a FreeType contour.
|
|
||||||||||||||||
|
Construct a Vertex from a 2D point.
|
|
||||||||||||||||||||
|
Construct a Vertex from a 2D point.
|
|
|
Treat the Vertex like a vector: Normalize its length in the usual way. |
|
|
The user can provide a ColorTess object which computes a color for each tesselated vertex. |
|
|
The user can provide a TextureTess object which computes texture coordinates for each tesselated vertex. |
|
|
Why is this double precision? Because the second argument to the routine gluTessVertex is a pointer to an array of doubles. Otherwise, we could use single precision everywhere. |
1.2.18