Commit 28e4e088 authored by TheNumbat's avatar TheNumbat
Browse files

don't render edges between boundary faces

parent 37aac1d1
......@@ -382,6 +382,7 @@ void Model::rebuild() {
cylinders.clear();
for(auto e = mesh.edges_begin(); e != mesh.edges_end(); e++) {
if(e->halfedge()->is_boundary() && e->halfedge()->twin()->is_boundary()) continue;
Mat4 transform;
edge_viz(e, transform);
id_to_info[e->id()] = {e, cylinders.add(transform, e->id())};
......
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