Base: fix clang-tidy warnings in BoundBox.h

This commit is contained in:
wmayer
2023-08-26 18:22:45 +02:00
committed by wwmayer
parent 9dd4779252
commit b4739d3ca4
3 changed files with 516 additions and 437 deletions

View File

@@ -51,7 +51,7 @@ void MeshTrimByPlane::CheckFacets(const MeshFacetGrid& rclGrid, const Base::Vect
// save all elements in checkElements
clGridIter.GetElements(checkElements);
}
else if (clBBox3d.CalcPoint(0).DistanceToPlane(base, normal) > 0.0f) {
else if (clBBox3d.CalcPoint(Base::BoundBox3f::TLB).DistanceToPlane(base, normal) > 0.0f) {
// save all elements in removeFacets
clGridIter.GetElements(removeFacets);
}