Skip to content
Snippets Groups Projects
Commit 07178dc6 authored by Julius Nehring-Wirxel's avatar Julius Nehring-Wirxel
Browse files

Fixed triangulate_naive(...)

parent 1807a5ba
No related branches found
No related tags found
1 merge request!6Fixed triangulate_naive(...)
......@@ -27,7 +27,7 @@ inline void triangulate_naive(Mesh& m)
// triangulate
for (auto i = 2u; i < vs.size(); ++i)
m.faces().add(vs[0], vs[1], vs[i]);
m.faces().add(vs[0], vs[i - 1], vs[i]);
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment