Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
sloriot committed Feb 19, 2025
1 parent ebce0cf commit 5e2a662
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -348,14 +348,14 @@ bool should_flip(typename boost::graph_traits<TriangleMesh>::edge_descriptor e,
{
typedef typename boost::graph_traits<TriangleMesh>::halfedge_descriptor halfedge_descriptor;

typedef typename Traits:: FT FT;
typedef typename boost::property_traits<VPM>::reference Point_ref;

CGAL_precondition(!is_border(e, tmesh));

const halfedge_descriptor h = halfedge(e, tmesh);

#if 1
CGAL_USE(gt);
const Point_ref p0 = get(vpm, target(h, tmesh));
const Point_ref p1 = get(vpm, target(next(h, tmesh), tmesh));
const Point_ref p2 = get(vpm, source(h, tmesh));
Expand Down Expand Up @@ -393,6 +393,7 @@ bool should_flip(typename boost::graph_traits<TriangleMesh>::edge_descriptor e,
return !is_worse_cap(p0, p1, p3) && !is_worse_cap(p3, p1, p2);

#else
typedef typename Traits:: FT FT;
typename Traits::Compute_approximate_angle_3 angle = gt.compute_approximate_angle_3_object();
const Point_ref p0 = get(vpm, target(h, tmesh));
const Point_ref p1 = get(vpm, target(next(h, tmesh), tmesh));
Expand Down

0 comments on commit 5e2a662

Please sign in to comment.