Commit 4516207a authored by Franjo's avatar Franjo
Browse files

Wrong bounding box of an edge is fixed now

parent 06a0635b
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment