Cutout Vis2012
TUWienVisualisierung2(SS2012)-AdaptiveCutaways
 All Classes Namespaces Functions Pages
MeshUtils.h
1 #ifndef _MESHUTILS_H_
2 #define _MESHUTILS_H_
3 
4 #include "include_opengl.h"
5 
12 class HalfEdge
13 {
14 public:
15  GLuint index;
16  HalfEdge* twin;
17  HalfEdge* next;
18 };
19 
20 class MeshUtils
21 {
22 public:
36  static void calculateTrianglesAdjacency(int numFaces, const GLuint* srcIndices, GLuint* destIndices, int numSrcVertices, const GLfloat* srcVertices, int& numDestVertices, GLfloat** destVertices);
37 };
38 
39 
40 
41 
42 #endif _MESHUTILS_H_