Tiny codestyle cleanup.

This commit is contained in:
Relintai 2020-03-29 13:11:12 +02:00
parent 896540116f
commit 0649d435c6

View File

@ -533,7 +533,7 @@ public:
if (t.dirty)
continue;
for (int j = 0; j < 3; ++j)
for (int j = 0; j < 3; ++j) {
if (t.err[j] < threshold) {
int i0 = t.v[j];
Vertex &v0 = vertices[i0];
@ -585,6 +585,7 @@ public:
break;
}
}
}
if (deleted_triangles <= 0)
break;
@ -601,7 +602,9 @@ public:
for (int k = 0; k < v0.tcount; ++k) {
Triangle &t = triangles[refs[v0.tstart + k].tid];
if (t.deleted) continue;
if (t.deleted)
continue;
int s = refs[v0.tstart + k].tvertex;
int id1 = t.v[(s + 1) % 3];
@ -609,7 +612,6 @@ public:
if (id1 == i1 || id2 == i1) // delete ?
{
deleted[k] = 1;
continue;
}