diff options
author | Marius Kintel <marius@kintel.net> | 2011-09-06 16:31:05 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2011-09-06 16:31:05 (GMT) |
commit | 3b16fdafd2235e8bcaec0c2be06949f61bc4047d (patch) | |
tree | 9f09dbca56502ba5d12d65be6bc54d832dd97d12 | |
parent | a1e36876a57c9235c4fb808f65bac0652361d4d4 (diff) |
added some debug output
-rw-r--r-- | tests/opencsgtest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/opencsgtest.cc b/tests/opencsgtest.cc index ebcfdd3..72f7488 100644 --- a/tests/opencsgtest.cc +++ b/tests/opencsgtest.cc @@ -155,9 +155,8 @@ int main(int argc, char *argv[]) return 1; } - csgInfo.root_norm_term = root_raw_term->link(); - // CSG normalization + csgInfo.root_norm_term = root_raw_term->link(); while (1) { CSGTerm *n = csgInfo.root_norm_term->normalize(); csgInfo.root_norm_term->unlink(); @@ -170,6 +169,7 @@ int main(int argc, char *argv[]) csgInfo.root_chain = new CSGChain(); csgInfo.root_chain->import(csgInfo.root_norm_term); + fprintf(stderr, "Normalized CSG tree has %d elements\n", csgInfo.root_chain->polysets.size()); if (csgInfo.highlight_terms.size() > 0) { cerr << "Compiling highlights (" << csgInfo.highlight_terms.size() << " CSG Trees)...\n"; |