#include <curve.h>
Public Methods | |
| csCurveTesselated (int NumVertices, int NumTriangles) | |
| Allocate a new tesselated curve with the given number of vertices and triangles. | |
| ~csCurveTesselated () | |
| destructor. | |
| int | GetVertexCount () const |
| Return the number of vertices. | |
| int | GetTriangleCount () const |
| Return the number of triangles. | |
| csVector3* | GetVertices () |
| Return the array of vertices. | |
| csVector2* | GetTxtCoords () |
| Return the array of texture coordinates. | |
| csVector2* | GetControlPoints () |
| Return the array of control points. | |
| csColor* | GetColors () |
| Return the array of vertex colors. | |
| csTriangle* | GetTriangles () |
| Return the array of triangles. | |
| csTriangle& | GetTriangle (int i) |
| Return a single triangle @ why? More... | |
| bool | AreColorsValid () const |
| Return true if the colors table is valid. | |
| void | UpdateColors (csLightMap *lightmap) |
| Update the 'colors' array in this tesselation given a lightmap. More... | |
This is basicly a list of triangles.
|
|
Return a single triangle @ why? @ |
|
|
Update the 'colors' array in this tesselation given a lightmap. This should be called whenever the lightmap changes and the curve needs to be rendered. |