Commit 0d711fd4 authored by Philip Trettner's avatar Philip Trettner
Browse files

fixed halfedge_attach

parent 05e7f641
......@@ -775,6 +775,8 @@ inline void Mesh::halfedge_attach(halfedge_index h, vertex_index v)
h1_ref.face = f;
h1_ref.to_vertex = v_to;
vertex(v).outgoing_halfedge = h_next;
connect_prev_next(h, h0);
connect_prev_next(h0, h1);
connect_prev_next(h1, h_next);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment