Skip to content

Commit

Permalink
Bigger close mesh
Browse files Browse the repository at this point in the history
  • Loading branch information
ggrzeczkowicz committed Nov 1, 2024
1 parent 9a6ca7b commit e243e5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bridge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1289,7 +1289,7 @@ void close_surface_mesh(Surface_mesh &mesh) {
if (vec1.direction() != start && (vec1.direction().counterclockwise_in_between(start, vec.direction()) || (vec.direction().dx() > 0 && vec1.direction().dx() > 0 && vec.direction().dy() > 0 && vec1.direction().dy() < 0))) {
auto p0 = K::Point_2(pt.x(), pt.y()) + vec1 / CGAL::sqrt(vec1.squared_length()) * 20;
auto va = mesh.add_vertex(Point_3(p0.x(), p0.y(), bb.zmin()));
auto vb = mesh.add_vertex(Point_3(p0.x(), p0.y(), bb.zmin() - 1));
auto vb = mesh.add_vertex(Point_3(p0.x(), p0.y(), bb.zmin() - 10));
halfedges_border.push_back(halfedge);
vertices_top.push_back(va);
vertices_bottom.push_back(vb);
Expand Down

0 comments on commit e243e5b

Please sign in to comment.