mirror of https://github.com/CGAL/cgal
fix warnings
This commit is contained in:
parent
71120ff1f2
commit
3409d4c974
|
|
@ -616,7 +616,7 @@ public:
|
|||
for(auto f : faces(mesh)) {
|
||||
max_patch_id = (std::max)(max_patch_id, get(mesh_face_patch_map, f));
|
||||
}
|
||||
number_of_patches = max_patch_id + 1;
|
||||
number_of_patches = static_cast<int>(max_patch_id + 1);
|
||||
patch_edges.resize(number_of_patches);
|
||||
for(auto h : halfedges(mesh)) {
|
||||
if(is_border(h, mesh))
|
||||
|
|
|
|||
|
|
@ -178,8 +178,8 @@ namespace Polygon_mesh {
|
|||
CGAL_precondition(vertices.size() >= 3);
|
||||
|
||||
auto vertex = vertices.begin();
|
||||
const Point_3& p1 = get(m_vertex_to_point_map, *vertex); ++vertex;
|
||||
const Point_3& p2 = get(m_vertex_to_point_map, *vertex); ++vertex;
|
||||
Point_3 p1 = get(m_vertex_to_point_map, *vertex); ++vertex;
|
||||
Point_3 p2 = get(m_vertex_to_point_map, *vertex); ++vertex;
|
||||
Point_3 p3 = get(m_vertex_to_point_map, *vertex);
|
||||
while(collinear(p1, p2, p3))
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue