From 027da6f0a83108654f29868d8f87465114d01cb9 Mon Sep 17 00:00:00 2001 From: cignoni Date: Tue, 23 Oct 2012 08:48:26 +0000 Subject: [PATCH] Just changed the default number of rotation attempt for packing OO polygons --- vcg/space/poly_packer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcg/space/poly_packer.h b/vcg/space/poly_packer.h index 044d5b71..89427498 100644 --- a/vcg/space/poly_packer.h +++ b/vcg/space/poly_packer.h @@ -58,7 +58,7 @@ public: static Box2f getPolyOOBB(const std::vector &poly, float &rot) { - const int stepNum=16; + const int stepNum=64; float bestAngle; float bestArea = std::numeric_limits::max(); Box2f bestBB;