summaryrefslogtreecommitdiff
path: root/src/ThrownTogetherRenderer.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 /src/ThrownTogetherRenderer.cc
parentaa2c67d24925a8b9465d5a908662091b705cf7cc (diff)
debugging failed test: throwntogethertest polygons
Diffstat (limited to 'src/ThrownTogetherRenderer.cc')
-rw-r--r--src/ThrownTogetherRenderer.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ThrownTogetherRenderer.cc b/src/ThrownTogetherRenderer.cc
index 146d2e1..b22c6a5 100644
--- a/src/ThrownTogetherRenderer.cc
+++ b/src/ThrownTogetherRenderer.cc
@@ -30,7 +30,8 @@
#include "system-gl.h"
-#include <boost/unordered_map.hpp>
+//#include <boost/unordered_map.hpp>
+#include <map>
ThrownTogetherRenderer::ThrownTogetherRenderer(CSGChain *root_chain,
CSGChain *highlights_chain,
@@ -62,7 +63,8 @@ void ThrownTogetherRenderer::renderCSGChain(CSGChain *chain, bool highlight,
bool fberror) const
{
glDepthFunc(GL_LEQUAL);
- boost::unordered_map<std::pair<PolySet*,Transform3d*>,int> polySetVisitMark;
+ //boost::unordered_map<std::pair<PolySet*,Transform3d*>,int> polySetVisitMark;
+ std::map<std::pair<PolySet*,Transform3d*>,int> polySetVisitMark;
for (size_t i = 0; i < chain->polysets.size(); i++) {
if (polySetVisitMark[std::make_pair(chain->polysets[i].get(), &chain->matrices[i])]++ > 0)
continue;
contact: Jan Huwald // Impressum