Commit 21b7ca5c by Alisa Jung

removed some logging

parent 0ba92741
......@@ -163,12 +163,6 @@ void Subdivision::precomputeTables(Mesh *mesh) {
for (int j = 0; j < ib.length(); j++){
if (j == 31 && i == 0){
qDebug()<<"j is 31, i is 0: ";
}
//suche verweise auf vertex im indexbuffer
if (vb[ib[j]].samePos(originalVertex)){
d.push_back(j);
......@@ -177,15 +171,11 @@ void Subdivision::precomputeTables(Mesh *mesh) {
i1 = ib[j+1];
i2 = ib[j+2];
} else if(j%3==1){
i1 = ib[j+1];
i2 = ib[j-1];
} else{
i1 = ib[j-1];
i2 = ib[j-2];
}
if (j == 31 && i == 0){
qDebug()<<"i1: "<<i1<<", i2: "<<i2;
i2 = ib[j+1];
} else{
i1 = ib[j-2];
i2 = ib[j-1];
}
Vertex v1,v2; //neighbour vertices;
......
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