summaryrefslogtreecommitdiff
path: root/tests/csgtestcore.cc
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2012-08-19 04:02:39 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2012-08-19 04:02:39 (GMT)
commitd656f556b85fb25903d5f18c6a9557d6ed0e6f7d (patch)
treedc28c5a2ee8fbad8fd1480a2f67a0e9fe5298f14 /tests/csgtestcore.cc
parentaa2c67d24925a8b9465d5a908662091b705cf7cc (diff)
debugging failed test: throwntogethertest polygons
Diffstat (limited to 'tests/csgtestcore.cc')
-rw-r--r--tests/csgtestcore.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/csgtestcore.cc b/tests/csgtestcore.cc
index acc7c31..0ab9c0a 100644
--- a/tests/csgtestcore.cc
+++ b/tests/csgtestcore.cc
@@ -357,6 +357,13 @@ int csgtestcore(int argc, char *argv[], test_type_e test_type)
Vector3d camerapos = center - radius*1.8*cameradir;
csgInfo.glview->setCamera(camerapos, center);
+#include <iostream>
+ if (csgInfo.background_chain)
+ std::cout << csgInfo.background_chain->dump( true ) << "\n";
+ if (csgInfo.root_chain)
+ std::cout << csgInfo.root_chain->dump( true ) << "\n";
+ if (csgInfo.highlights_chain)
+ std::cout << csgInfo.highlights_chain->dump( true ) << "\n";
OpenCSGRenderer opencsgRenderer(csgInfo.root_chain, csgInfo.highlights_chain, csgInfo.background_chain, csgInfo.glview->shaderinfo);
ThrownTogetherRenderer thrownTogetherRenderer(csgInfo.root_chain, csgInfo.highlights_chain, csgInfo.background_chain);
contact: Jan Huwald // Impressum