Commit 7e535564 by Philipp Adolf

Make code compile with g++

parent 04d2f796
...@@ -73,7 +73,7 @@ void Subdivision::precomputeTables(Mesh *mesh) { ...@@ -73,7 +73,7 @@ void Subdivision::precomputeTables(Mesh *mesh) {
//compute edge table //compute edge table
//Format: first two entries: edge vertices. last two entries: distant vertices. //Format: first two entries: edge vertices. last two entries: distant vertices.
QVector<QVector<unsigned int>> edgeIndices_base; QVector<QVector<unsigned int> > edgeIndices_base;
for (int i = 0; i < ib.length(); i+=3){ for (int i = 0; i < ib.length(); i+=3){
//schaue alle dreiecke an //schaue alle dreiecke an
...@@ -148,8 +148,8 @@ void Subdivision::precomputeTables(Mesh *mesh) { ...@@ -148,8 +148,8 @@ void Subdivision::precomputeTables(Mesh *mesh) {
//compute vertex table //compute vertex table
//Format: First entry: original vertex. Other entries: adjacent vertices. //Format: First entry: original vertex. Other entries: adjacent vertices.
QVector<QVector<unsigned int>> vertexIndices_base; QVector<QVector<unsigned int> > vertexIndices_base;
QVector<QVector<unsigned int>> duplicates;//for debugging QVector<QVector<unsigned int> > duplicates;//for debugging
for (unsigned int i = 0; i < vb.length(); i++){ for (unsigned int i = 0; i < vb.length(); i++){
//hat evtl viel redundanz //hat evtl viel redundanz
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment