Skip to content

Commit

Permalink
Merge remote-tracking branch 'cgal/5.6.x-branch'
Browse files Browse the repository at this point in the history
  • Loading branch information
sloriot committed Nov 14, 2024
2 parents 400acfb + 6cb8704 commit 2e691b0
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,10 @@ struct Types_selectors<TriangleMesh, VertexPointMap, CGAL::SPOKES_AND_RIMS>

struct ARAP_visitor
{
void init(TriangleMesh, VertexPointMap){}
void init(const TriangleMesh&, VertexPointMap){}

void rotation_matrix_pre(typename boost::graph_traits<TriangleMesh>::vertex_descriptor,
TriangleMesh&){}
const TriangleMesh&){}

template <class Square_matrix_3>
void update_covariance_matrix(Square_matrix_3&,
Expand Down Expand Up @@ -125,7 +125,7 @@ struct Types_selectors<TriangleMesh, VertexPointMap, CGAL::SRE_ARAP>
public:
ARAP_visitor(): m_alpha(0.02) {}

void init(TriangleMesh triangle_mesh, const VertexPointMap& vpmap)
void init(const TriangleMesh &triangle_mesh, const VertexPointMap& vpmap)
{
// calculate area
m_area = 0;
Expand All @@ -143,7 +143,7 @@ struct Types_selectors<TriangleMesh, VertexPointMap, CGAL::SRE_ARAP>

void rotation_matrix_pre(
typename boost::graph_traits<TriangleMesh>::vertex_descriptor vi,
TriangleMesh& hg)
const TriangleMesh& hg)
{
typename boost::graph_traits<TriangleMesh>::in_edge_iterator e, e_end;
std::tie(e,e_end) = in_edges(vi, hg);
Expand Down

0 comments on commit 2e691b0

Please sign in to comment.