#1156 PRINTDB bugfix

master
Marius Kintel 2015-01-15 17:25:57 -05:00
parent 39e7442b92
commit fb55e1485b
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ bool GeometryUtils::tessellatePolygonWithHoles(const IndexedPolygons &polygons,
int j;
for (j = i; j < numInputVerts && vflags[j] == 0; j++) {
// Create triangle fan from vertex i-1 to the first existing vertex
PRINTDB("(%d) (%d) (%d)\n", startv % j % (j+1)%numInputVerts);
PRINTDB("(%d) (%d) (%d)\n", startv % j % ((j+1)%numInputVerts));
tri[0] = startv;
tri[1] = j;
tri[2] = (j+1)%numInputVerts;