Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Philip Trettner
polymesh
Commits
866ff765
Commit
866ff765
authored
Aug 29, 2018
by
Philip Trettner
Browse files
Merge branch 'bugfix/triangulate_naive' into 'master'
Fixed triangulate_naive(...) See merge request
!6
parents
1807a5ba
07178dc6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/polymesh/algorithms/remeshing/triangulate.hh
View file @
866ff765
...
...
@@ -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
]);
}
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment