Corrected harmless Warnings

This commit is contained in:
Paolo Cignoni 2017-03-02 10:20:27 +01:00
parent 4fb8921130
commit a597aea988
2 changed files with 2 additions and 1 deletions

View File

@ -57,7 +57,7 @@ static void buildRandRectSet(int rectNum, vector<Box2f> &rectVec)
} }
} }
int main( int argc, char **argv ) int main( int /*argc*/, char **/*argv*/ )
{ {
vector<Similarity2f> trVec; vector<Similarity2f> trVec;
vector<Similarity2f> trPolyVec; vector<Similarity2f> trPolyVec;

View File

@ -523,6 +523,7 @@ public:
finalArea += tri::OutlineUtil<SCALAR_TYPE>::Outline2Area(oldPoints); 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);
return true;
} }
//tries to pack polygons using the given gridSize and scaleFactor //tries to pack polygons using the given gridSize and scaleFactor