Use a power of two as scaling factor to be nice to the computer

master
Marius Kintel 2014-04-24 01:07:48 -04:00
parent 9613e992da
commit 75dc6b16d1
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
namespace ClipperUtils {
static const unsigned int CLIPPER_SCALE = 100000;
static const unsigned int CLIPPER_SCALE = 2 << 17;
ClipperLib::Path fromOutline2d(const Outline2d &poly, bool keep_orientation);
ClipperLib::Paths fromPolygon2d(const Polygon2d &poly);