Just changed the default number of rotation attempt for packing OO polygons

This commit is contained in:
Paolo Cignoni 2012-10-23 08:48:26 +00:00
parent b26b406f8f
commit 027da6f0a8
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ public:
static Box2f getPolyOOBB(const std::vector<Point2x> &poly, float &rot)
{
const int stepNum=16;
const int stepNum=64;
float bestAngle;
float bestArea = std::numeric_limits<float>::max();
Box2f bestBB;