mirror of https://github.com/vitalif/openscad
Use a power of two as scaling factor to be nice to the computer
parent
9613e992da
commit
75dc6b16d1
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
namespace ClipperUtils {
|
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::Path fromOutline2d(const Outline2d &poly, bool keep_orientation);
|
||||||
ClipperLib::Paths fromPolygon2d(const Polygon2d &poly);
|
ClipperLib::Paths fromPolygon2d(const Polygon2d &poly);
|
||||||
|
|
Loading…
Reference in New Issue