summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/CGALEvaluator.cc2
-rw-r--r--src/CSGTermEvaluator.cc2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/CGALEvaluator.cc b/src/CGALEvaluator.cc
index 8e5e222..440637a 100644
--- a/src/CGALEvaluator.cc
+++ b/src/CGALEvaluator.cc
@@ -172,6 +172,8 @@ Response CGALEvaluator::visit(State &state, const CsgNode &node)
case CSG_TYPE_INTERSECTION:
op = CGE_INTERSECTION;
break;
+ default:
+ assert(false);
}
applyToChildren(node, op);
}
diff --git a/src/CSGTermEvaluator.cc b/src/CSGTermEvaluator.cc
index f280b2b..dafa6a6 100644
--- a/src/CSGTermEvaluator.cc
+++ b/src/CSGTermEvaluator.cc
@@ -133,6 +133,8 @@ Response CSGTermEvaluator::visit(State &state, const CsgNode &node)
case CSG_TYPE_INTERSECTION:
op = CSGT_INTERSECTION;
break;
+ default:
+ assert(false);
}
applyToChildren(node, op);
addToParent(state, node);
contact: Jan Huwald // Impressum