summaryrefslogtreecommitdiff
path: root/tests/opencsgtest.cc
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-09-11 08:51:55 (GMT)
committerMarius Kintel <marius@kintel.net>2011-09-11 08:51:55 (GMT)
commit95949cf961d84f65ad9bfb9f2dec7361059ca515 (patch)
treeb5d50e381362d013d8cce12c524571f013a990a2 /tests/opencsgtest.cc
parent18e97e0bd3f6bda4fdcd17de2a85173ba59b6b00 (diff)
Implemented CGAL caching
Diffstat (limited to 'tests/opencsgtest.cc')
-rw-r--r--tests/opencsgtest.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/opencsgtest.cc b/tests/opencsgtest.cc
index 28c0daa..59501a0 100644
--- a/tests/opencsgtest.cc
+++ b/tests/opencsgtest.cc
@@ -142,8 +142,7 @@ int main(int argc, char *argv[])
Tree tree(root_node);
CsgInfo csgInfo;
- QHash<std::string, CGAL_Nef_polyhedron> cache;
- CGALEvaluator cgalevaluator(cache, tree);
+ CGALEvaluator cgalevaluator(tree);
CSGTermEvaluator evaluator(tree, &cgalevaluator.psevaluator);
CSGTerm *root_raw_term = evaluator.evaluateCSGTerm(*root_node,
csgInfo.highlight_terms,
contact: Jan Huwald // Impressum