Main Page   Alphabetical List   Compound List   File List   Compound Members   File Members  

gtcSimpleMesh Struct Reference

Basic 3d mesh. More...

#include <gtcmesh.h>

List of all members.

Public Attributes

char* name
 Unused...

gtcReal (* v )[3]
 Vertices.

gtcReal (* n )[3]
 Normals.

gtcReal (* t )[2]
 Texture coordinates.

gtcRealw
 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.


Detailed Description

Basic 3d 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];


The documentation for this struct was generated from the following file:
Generated at Sat Jul 14 18:53:52 2001 for GTC by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001