summaryrefslogtreecommitdiff
path: root/src/PolySetCGALEvaluator.cc
diff options
context:
space:
mode:
authorDon Bright <hugh.m.bright@gmail.com>2013-12-29 23:20:17 (GMT)
committerDon Bright <hugh.m.bright@gmail.com>2013-12-29 23:20:17 (GMT)
commit81a08c05c2d03aa8791279dfbcf7f9ca826fcf96 (patch)
tree5177fa483ea81d5b5e6bbdb354425132b4f17478 /src/PolySetCGALEvaluator.cc
parent316c514208bebc7e5e99aeeaf916c6011a47b5ac (diff)
parentb272d1f0defa8dd908217ccd43a48eb60735d2d4 (diff)
Merge branch 'master' of github.com:openscad/openscad into colorsfix
Diffstat (limited to 'src/PolySetCGALEvaluator.cc')
-rw-r--r--src/PolySetCGALEvaluator.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PolySetCGALEvaluator.cc b/src/PolySetCGALEvaluator.cc
index a2d896d..0b57de1 100644
--- a/src/PolySetCGALEvaluator.cc
+++ b/src/PolySetCGALEvaluator.cc
@@ -13,10 +13,10 @@
#include "dxfdata.h"
#include "dxftess.h"
#include "module.h"
+#include "calc.h"
#include "svg.h"
#include "printutils.h"
-#include "openscad.h" // get_fragments_from_r()
#include <boost/foreach.hpp>
#include <vector>
@@ -469,7 +469,7 @@ PolySet *PolySetCGALEvaluator::rotateDxfData(const RotateExtrudeNode &node, DxfD
}
}
- int fragments = get_fragments_from_r(max_x-min_x, node.fn, node.fs, node.fa);
+ int fragments = Calc::get_fragments_from_r(max_x-min_x, node.fn, node.fs, node.fa);
double ***points;
points = new double**[fragments];
contact: Jan Huwald // Impressum