#include <gtcmesh.h>
Public Attributes | |
| char* | name |
| Unused... | |
| gtcReal (* | v )[3] |
| Vertices. | |
| gtcReal (* | n )[3] |
| Normals. | |
| gtcReal (* | t )[2] |
| Texture coordinates. | |
| gtcReal* | w |
| This is actually a 2d array of dimensions [numv][numw] used for the weighted average business (see gtc_put_simple_mesh()). | |
| int (* | f )[3] |
| Face index -- face 23 has vertices f[23][0], f[23][1], f[23][2]. | |
| int | numf |
| Number of faces. | |
| int | numv |
| Number of vertices. | |
| int | numw |
| Number of weights. | |
| int | texid |
| "Internal use" -- the OpenGL texture id assigned to this mesh. | |
A mesh is basically a set of triangles along with certain useful attributes. These meshes have textures (per-vertex texture coordinates), per-vertex normals and also the possibility of being warped (by transforming vertices by some per-vertex weighted average of input affine transforms; see gtc_put_simple_mesh). doxygen seems to have a hard time grokking things like gtcReal (*v)[3];
1.2.8.1 written by Dimitri van Heesch,
© 1997-2001