Skip to content

Commit

Permalink
pass missing parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
sloriot committed Feb 17, 2025
1 parent 0f8c7a2 commit ebce0cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -871,7 +871,7 @@ namespace internal {
if (!is_flip_allowed(e))
continue;
//add geometric test to avoid axe cuts
if (!internal::should_flip(e, mesh_, vpmap_, gt_))
if (!internal::should_flip(e, mesh_, vpmap_, gt_, -0.939692621)) // TODO: should it be a named parameter?
continue;

halfedge_descriptor he = halfedge(e, mesh_);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class Refine_Polyhedron_3 {
std::cout << "\t" << target(next(opposite(h,pmesh),pmesh),pmesh) << ": " << s << std::endl;
#endif

if(internal::should_flip(edge(h, pmesh), pmesh, vpmap, traits))
if(internal::should_flip(edge(h, pmesh), pmesh, vpmap, traits, -0.939692621)) // TODO: should it be a named parameter?
{
if(flippable(h)) {
Euler::flip_edge(h,pmesh);
Expand Down

0 comments on commit ebce0cf

Please sign in to comment.