From fb55e1485b917223b1c9180b69c327029c6a670f Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Thu, 15 Jan 2015 17:25:57 -0500 Subject: [PATCH] #1156 PRINTDB bugfix --- src/GeometryUtils.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GeometryUtils.cc b/src/GeometryUtils.cc index edb1b315..b9c452fa 100644 --- a/src/GeometryUtils.cc +++ b/src/GeometryUtils.cc @@ -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;