Small optimization into its_convex_hull_2d_above()
This commit is contained in:
parent
071eb3d393
commit
aea3f1dc86
@ -903,7 +903,7 @@ Polygon its_convex_hull_2d_above(const indexed_triangle_set& its, const Transfor
|
|||||||
chs.push_back(collect_mesh_projection_points_above(range));
|
chs.push_back(collect_mesh_projection_points_above(range));
|
||||||
});
|
});
|
||||||
|
|
||||||
const Polygons polygons(chs.begin(), chs.end());
|
const Polygons polygons(std::make_move_iterator(chs.begin()), std::make_move_iterator(chs.end()));
|
||||||
return Geometry::convex_hull(polygons);
|
return Geometry::convex_hull(polygons);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user