mirror of https://github.com/CGAL/cgal
Update Isosurfacing_3/include/CGAL/Isosurfacing_3/internal/topologically_correct_marching_cubes_functors.h
This commit is contained in:
parent
f083aa4520
commit
c558ba05a5
|
|
@ -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_;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue