removed spurious printf

This commit is contained in:
Paolo Cignoni 2013-11-25 10:31:01 +00:00
parent 3d150e9aea
commit fba7d7873e
1 changed files with 4 additions and 4 deletions

View File

@ -522,7 +522,7 @@ public:
}
finalArea += tri::OutlineUtil<SCALAR_TYPE>::Outline2Area(oldPoints);
}
printf("PACKING EFFICIENCY: %f with scale %f\n", finalArea/gridArea, latestSuccessScale);
// printf("PACKING EFFICIENCY: %f with scale %f\n", finalArea/gridArea, latestSuccessScale);
}
//tries to pack polygons using the given gridSize and scaleFactor
@ -563,7 +563,7 @@ public:
for(size_t i=0;i<polyVec.size();i++) perm[i] = i;
sort(perm.begin(),perm.end(),ComparisonFunctor<float>(polyVec));
printf("BEGIN OF PACKING\n");
// printf("BEGIN OF PACKING\n");
// **** First Step: Rasterize all the polygons ****
for (size_t i = 0; i < polyVec.size(); i++) {
@ -643,7 +643,7 @@ public:
//if we couldn't find a valid position for the poly return false, as we couldn't pack with the current scaleFactor
if (bestRastIndex == -1) {
printf("Items didn't fit using %f as scaleFactor\n", scaleFactor);
// printf("Items didn't fit using %f as scaleFactor\n", scaleFactor);
return false;
}
@ -687,7 +687,7 @@ public:
}
//sort polyToContainer and trVec so that we have them ordered for dumping
printf("SUCCESSFULLY PACKED with scaleFactor %f\n", scaleFactor);
// printf("SUCCESSFULLY PACKED with scaleFactor %f\n", scaleFactor);
return true;
}