Update Isosurfacing_3/include/CGAL/Isosurfacing_3/internal/topologically_correct_marching_cubes_functors.h

This commit is contained in:
Andreas Fabri 2024-01-16 11:20:00 +01:00 committed by GitHub
parent f083aa4520
commit c558ba05a5
1 changed files with 1 additions and 1 deletions

View File

@ -996,7 +996,7 @@ private:
// triangulate and close inner hexagon // triangulate and close inner hexagon
// triangle must have the correct orientation // triangle must have the correct orientation
// use asymptotic_decider() to see if positive vertices // use asymptotic_decider() to see if positive vertices
// are separated, in thic case orientation must be changed // are separated, in this case orientation must be changed
const bool s_ = (asymptotic_decider(values[0], values[1], values[2], values[3]) <= i0); const bool s_ = (asymptotic_decider(values[0], values[1], values[2], values[3]) <= i0);
const bool of_ = (wi[1] < wi[0]) ? s_ : !s_; const bool of_ = (wi[1] < wi[0]) ? s_ : !s_;