summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2012-08-19 12:13:49 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2012-08-19 12:13:49 (GMT)
commit94de600995a142bb0643b70f7717be3650072644 (patch)
treef54593c9152f4c89a070b7573502d8700bd0ef77 /src
parent4ef470be1f147cb33d75117716ec83c84328da25 (diff)
Revert "Revert "more debug""
This reverts commit 4ef470be1f147cb33d75117716ec83c84328da25.
Diffstat (limited to 'src')
-rw-r--r--src/ThrownTogetherRenderer.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ThrownTogetherRenderer.cc b/src/ThrownTogetherRenderer.cc
index b22c6a5..21f3ae7 100644
--- a/src/ThrownTogetherRenderer.cc
+++ b/src/ThrownTogetherRenderer.cc
@@ -32,6 +32,8 @@
//#include <boost/unordered_map.hpp>
#include <map>
+#include <iostream>
+using std::cout;
ThrownTogetherRenderer::ThrownTogetherRenderer(CSGChain *root_chain,
CSGChain *highlights_chain,
@@ -70,6 +72,8 @@ void ThrownTogetherRenderer::renderCSGChain(CSGChain *chain, bool highlight,
continue;
const Transform3d &m = chain->matrices[i];
const Color4f &c = chain->colors[i];
+ cout << "m\n" << m.matrix() << "\n";
+ cout << "color\n" << c << "\n";
glPushMatrix();
glMultMatrixd(m.data());
PolySet::csgmode_e csgmode = chain->types[i] == CSGTerm::TYPE_DIFFERENCE ? PolySet::CSGMODE_DIFFERENCE : PolySet::CSGMODE_NORMAL;
contact: Jan Huwald // Impressum