Mesh: Use std::numeric_limits and std::numbers instead of defines

This commit is contained in:
Benjamin Nauck
2025-03-27 19:01:24 +01:00
parent f72ffc438b
commit 99bb999deb
40 changed files with 187 additions and 204 deletions

View File

@@ -119,7 +119,7 @@ App::DocumentObjectExecReturn* SegmentByMesh::execute()
// now we have too many facets since we have (invisible) facets near to the back clipping
// plane, so we need the nearest facet to the front clipping plane
//
float fDist = FLOAT_MAX;
float fDist = std::numeric_limits<float>::max();
MeshCore::FacetIndex uIdx = MeshCore::FACET_INDEX_MAX;
MeshFacetIterator cFIt(rMeshKernel);