From 0a566b3d835246620dbf0d9c9d5be9920b92ae39 Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Thu, 26 Jun 2014 15:33:22 -0400 Subject: [PATCH] Removed unused code --- src/mainwin.cc | 4 ---- src/node.h | 6 +----- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/src/mainwin.cc b/src/mainwin.cc index 3f8fe223..0be00284 100644 --- a/src/mainwin.cc +++ b/src/mainwin.cc @@ -97,10 +97,6 @@ #include "cgalworker.h" #include "cgalutils.h" -#else - -#include "PolySetEvaluator.h" - #endif // ENABLE_CGAL #include "boosty.h" diff --git a/src/node.h b/src/node.h index f4535e10..604eb2c7 100644 --- a/src/node.h +++ b/src/node.h @@ -34,10 +34,6 @@ public: overloaded to provide specialization for e.g. CSG nodes, primitive nodes etc. Used for human-readable output. */ virtual std::string name() const; - /*! Should return a Geometry instance describing the node. Returns NULL if smth. - goes wrong. This is only called by PolySetEvaluator, to make sure polysets - are inserted into the cache*/ - virtual class Geometry *evaluate_geometry(class PolySetEvaluator *) const { return NULL; } const std::vector &getChildren() const { return this->children; @@ -88,7 +84,7 @@ public: LeafNode(const ModuleInstantiation *mi) : AbstractPolyNode(mi) { }; virtual ~LeafNode() { }; virtual Response accept(class State &state, class Visitor &visitor) const; - virtual Geometry *createGeometry() const = 0; + virtual class Geometry *createGeometry() const = 0; }; std::ostream &operator<<(std::ostream &stream, const AbstractNode &node);