diff options
author | Marius Kintel <marius@kintel.net> | 2011-12-21 20:48:01 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2011-12-21 20:48:01 (GMT) |
commit | 3e419ce31871eb930b4ef2b96f84e2db800f81b8 (patch) | |
tree | dfabace3b70cc3d0b046867eadb4af6cd775c51b /src/csgterm.h | |
parent | 5b1556e6ca05bdea518c47687494011b816d37f1 (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.h | 2 |
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(); }; |