Skip to content
Snippets Groups Projects
Commit 22d5dca1 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

fixme

parent 0c83f4bb
No related branches found
No related tags found
No related merge requests found
...@@ -384,8 +384,10 @@ SOrientedBoundingBox* SOrientedBoundingBox::buildOBB(std::vector<SPoint3> vertic ...@@ -384,8 +384,10 @@ SOrientedBoundingBox* SOrientedBoundingBox::buildOBB(std::vector<SPoint3> vertic
bool okay = true; bool okay = true;
for (std::vector<Segment>::iterator seg = convex_hull.begin(); for (std::vector<Segment>::iterator seg = convex_hull.begin();
seg != convex_hull.end(); seg++) { seg != convex_hull.end(); seg++) {
if ( ((*seg).from == segs[j].from && (*seg).from == segs[j].to) || if ( ((*seg).from == segs[j].from && (*seg).from == segs[j].to)
((*seg).from == segs[j].to && (*seg).from == segs[j].from)) { // FIXME:
// || ((*seg).from == segs[j].to && (*seg).from == segs[j].from)
) {
convex_hull.erase(seg); convex_hull.erase(seg);
okay = false; okay = false;
break; break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment