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

fixme

parent 0c83f4bb
Branches
Tags
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment