Commit 866ff765 authored by Philip Trettner's avatar Philip Trettner
Browse files

Merge branch 'bugfix/triangulate_naive' into 'master'

Fixed triangulate_naive(...)

See merge request !6
parents 1807a5ba 07178dc6
......@@ -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]);
}
}
}
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