Commit 3c9581d9 authored by l_opal's avatar l_opal
Browse files

makeTriangleNormalInwardPointing() reviewed

- ''if(cond) break' to leave loop replaced with condition in do {..} while(cond);
parent 6c517e5e
......@@ -1980,9 +1980,8 @@ Change orientation if diff is:
isOriented[neighbor_id] = true;
triangles[queue_end++] = neighbor_id;
}
if (++queue_cursor >= queue_end) break;
triangle_id = triangles[queue_cursor];
} while (true);
queue_cursor++;
} while (queue_cursor < queue_end && (triangle_id = triangles[queue_cursor],true));
} while (queue_end < bg->Triangles_m.size());
if (parts == 1) {
......
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