summaryrefslogtreecommitdiff
path: root/src/render.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/render.cc')
-rw-r--r--src/render.cc10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/render.cc b/src/render.cc
index 48a8535..f08423a 100644
--- a/src/render.cc
+++ b/src/render.cc
@@ -26,15 +26,12 @@
#include "rendernode.h"
#include "module.h"
-#include "polyset.h"
#include "context.h"
-#include "dxfdata.h"
-#include "dxftess.h"
-#include "csgterm.h"
#include "builtin.h"
#include "printutils.h"
#include "progress.h"
#include "visitor.h"
+#include "PolySetEvaluator.h"
#include <sstream>
#include <boost/assign/std/vector.hpp>
@@ -68,6 +65,11 @@ AbstractNode *RenderModule::evaluate(const Context *ctx, const ModuleInstantiati
return node;
}
+class PolySet *RenderNode::evaluate_polyset(PolySetEvaluator *ps) const
+{
+ return ps->evaluatePolySet(*this);
+}
+
void register_builtin_render()
{
builtin_modules["render"] = new RenderModule();
contact: Jan Huwald // Impressum