Public Members |
 |  |
| ddgMeshRender ( ddgTBinMesh *m, ddgHeightMap *height = NULL, ddgStr *tfile = NULL, ddgStr *efile = NULL, int size = 0, int scale = 0, bool meshcolor = false )
|
 |  | | Constructor.
|
 |  |
| ~ddgMeshRender ( )
|
 |  | | Destructor.
|
 |  |
bool | init (ddgContext *ctx )
|
 |  | | Initialize the class.
|
 |  |
bool | draw (ddgContext *ctx )
|
 |  | | Recalculate the mesh.
|
 |  |
bool | drawTriangle ( ddgTBinTree *bt, ddgVBIndex tvc )
|
 |  | | Push a triangle into the buffer.
|
 |  |
bool | drawTriangleWire ( ddgTBinTree *bt, ddgVBIndex tvc )
|
 |  | | Draw a wire frame triangle.
|
 |  |
void | curvature (float c)
|
 |  | | Set the curvature.
|
 |  |
ddgVBIndex | selected
|
 |  | | Selected triangle to be rendered in yellow.
|