summaryrefslogtreecommitdiff
path: root/test-code/CSGTextRenderer.h
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2010-08-28 19:21:44 (GMT)
committerMarius Kintel <marius@kintel.net>2010-10-31 00:42:38 (GMT)
commitd0390c41a2268ce23d3010c7085e4365725d2f49 (patch)
treed3f2e6b0cc58a66ff759740ddcf27191335076aa /test-code/CSGTextRenderer.h
parent93f3d4a1b6251523428179261dc070df44b0b317 (diff)
Added AbstractNode::name(), changed CSGTextRenderer to use this instead of the rtti name
Diffstat (limited to 'test-code/CSGTextRenderer.h')
-rw-r--r--test-code/CSGTextRenderer.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/test-code/CSGTextRenderer.h b/test-code/CSGTextRenderer.h
index 4085e60..79a8a96 100644
--- a/test-code/CSGTextRenderer.h
+++ b/test-code/CSGTextRenderer.h
@@ -17,11 +17,11 @@ public:
CSGTextRenderer(CSGTextCache &cache) : cache(cache) {}
virtual ~CSGTextRenderer() {}
- virtual Response visit(const State &state, const AbstractNode &node);
- virtual Response visit(const State &state, const AbstractIntersectionNode &node);
- virtual Response visit(const State &state, const CsgNode &node);
- virtual Response visit(const State &state, const TransformNode &node);
- virtual Response visit(const State &state, const AbstractPolyNode &node);
+ virtual Response visit(State &state, const AbstractNode &node);
+ virtual Response visit(State &state, const AbstractIntersectionNode &node);
+ virtual Response visit(State &state, const CsgNode &node);
+ virtual Response visit(State &state, const TransformNode &node);
+ virtual Response visit(State &state, const AbstractPolyNode &node);
private:
enum CsgOp {UNION, INTERSECTION, DIFFERENCE, MINKOWSKI};
contact: Jan Huwald // Impressum