From 22d5dca15dbeb10c212c5b2ca3c17df9b1371bee Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Tue, 24 Mar 2015 13:56:30 +0000 Subject: [PATCH] fixme --- Geo/SOrientedBoundingBox.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Geo/SOrientedBoundingBox.cpp b/Geo/SOrientedBoundingBox.cpp index e8673043a9..0a4af41e37 100644 --- a/Geo/SOrientedBoundingBox.cpp +++ b/Geo/SOrientedBoundingBox.cpp @@ -384,8 +384,10 @@ SOrientedBoundingBox* SOrientedBoundingBox::buildOBB(std::vector<SPoint3> vertic bool okay = true; for (std::vector<Segment>::iterator seg = convex_hull.begin(); seg != convex_hull.end(); seg++) { - if ( ((*seg).from == segs[j].from && (*seg).from == segs[j].to) || - ((*seg).from == segs[j].to && (*seg).from == segs[j].from)) { + if ( ((*seg).from == segs[j].from && (*seg).from == segs[j].to) + // FIXME: + // || ((*seg).from == segs[j].to && (*seg).from == segs[j].from) + ) { convex_hull.erase(seg); okay = false; break; -- GitLab