Corrected harmless Warnings
This commit is contained in:
parent
4fb8921130
commit
a597aea988
|
@ -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;
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue