- Timestamp:
- 02/05/07 13:29:55 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Geom/shared/GTGeometry/src/libs/vmi/include/mesh.h
r983 r2090 11 11 GLuint *triangles; // List of triangles 12 12 int enable; 13 int movable; // If vertex is part of a border. 13 14 } Vertex; 14 15 … … 22 23 typedef struct _Triangle { 23 24 GLuint id; // Triangle id 25 GLuint group; // Triangle group 24 26 GLuint submesh; // Triangle submesh 25 27 GLuint indices[3]; // Triangle vertices … … 45 47 extern void computeTriangleNormal(Vertex *vertices, Triangle *t); 46 48 49 extern Vertex *addVertex(Vertex *list, int *n, float x, float y, float z, int *pos); 47 50 extern int findEdge(Edge *e, GLuint num, GLuint _u, GLuint _v); 51 extern Edge *addEdge(Edge *list, int *n, int u, int v, int *pos); 48 52 extern GLboolean findVertex(GLfloat *vertices, GLuint num, GLfloat x, GLfloat y, GLfloat z, int *pos); 49 53 … … 55 59 56 60 extern int *trianglesAdjToEdge(Mesh *mesh, int e, int *n); 57 extern int *trianglesAdjToVertex(Mesh *mesh, int v, int *n);58 61 extern int *verticesAdjToVertex(Mesh *mesh, int v, int *n); 59 62 extern int *edgesAdjToVertex(Mesh *mesh, int v, int *n); 60 63 extern int *edgesAdjToVertices(Mesh *mesh, int *vertices, int numVertices, int *n); 61 64 65 // list of integers 62 66 extern void printItemList(int *list, int n); 63 67 extern int findItem(int *list, int n, int item); 64 68 extern void addItem(int *list, int *n, int item); 69 extern void delItem(int *list, int *n, int item); 65 70 66 71
Note: See TracChangeset
for help on using the changeset viewer.