#include <Model.h>
Public Methods | |
| Model (std::vector< Vertex *> *v, std::vector< GLint > *vi, std::vector< Color *> *c, bool order) | |
| Constructor taking information for all vertices. More... | |
| const GLuint | numVertices () |
| Returns the number of vertices. | |
| const GLuint | numTriangles () |
| Returns the number of triangles. | |
| std::string | toString () |
| Returns a string showing all information. | |
| VS * | getVertexList () |
| Returns a set of the verticies. | |
| std::set< Triangle *> * | getTriangleList () |
| void | addTriangle (Triangle *t) |
| void | removeTriangle (Triangle *t) |
| void | addVertex (Vertex *v) |
| void | removeVertex (Vertex *v) |
| bool | isClockwise () |
| GLint | getNumCorners () |
| GLvoid | setNumCorners (GLint i) |
|
||||||||||||||||||||
|
Constructor taking information for all vertices.
|
1.2.11.1 written by Dimitri van Heesch,
© 1997-2001