diff options
author | don bright <hugh.m.bright@gmail.com> | 2012-08-19 04:02:39 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2012-08-19 04:02:39 (GMT) |
commit | d656f556b85fb25903d5f18c6a9557d6ed0e6f7d (patch) | |
tree | dc28c5a2ee8fbad8fd1480a2f67a0e9fe5298f14 /src/ThrownTogetherRenderer.cc | |
parent | aa2c67d24925a8b9465d5a908662091b705cf7cc (diff) |
debugging failed test: throwntogethertest polygons
Diffstat (limited to 'src/ThrownTogetherRenderer.cc')
-rw-r--r-- | src/ThrownTogetherRenderer.cc | 6 |
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; |