summaryrefslogtreecommitdiff
path: root/src/csgterm.h
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-12-21 20:48:01 (GMT)
committerMarius Kintel <marius@kintel.net>2011-12-21 20:48:01 (GMT)
commit3e419ce31871eb930b4ef2b96f84e2db800f81b8 (patch)
treedfabace3b70cc3d0b046867eadb4af6cd775c51b /src/csgterm.h
parent5b1556e6ca05bdea518c47687494011b816d37f1 (diff)
bugfix: Sometimes, the CSG normalization created extremely large trees. Rewrote the algorithm based on the original Goldfeather paper. Fixes #44
Diffstat (limited to 'src/csgterm.h')
-rw-r--r--src/csgterm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/csgterm.h b/src/csgterm.h
index 1895839..1583c62 100644
--- a/src/csgterm.h
+++ b/src/csgterm.h
@@ -32,7 +32,7 @@ public:
~CSGTerm();
static shared_ptr<CSGTerm> normalize(shared_ptr<CSGTerm> &term);
- static shared_ptr<CSGTerm> normalize_tail(shared_ptr<CSGTerm> &term);
+ static bool normalize_tail(shared_ptr<CSGTerm> &term);
std::string dump();
};
contact: Jan Huwald // Impressum