Skip to content
Snippets Groups Projects
Commit 4516207a authored by Franjo's avatar Franjo
Browse files

Wrong bounding box of an edge is fixed now

parent 06a0635b
No related branches found
No related tags found
No related merge requests found
......@@ -770,7 +770,7 @@ void meshOctreeCreator::refineBoxesIntersectingEdgeMeshes()
const point& sp = points[e.start()];
const point& ep = points[e.end()];
boundBox edgeBB(sp, ep);
boundBox edgeBB(min(sp, ep), max(sp, ep));
edgeBB.min() -= tol;
edgeBB.max() += tol;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment