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
ccd228a2
Commit
ccd228a2
authored
Jul 17, 2018
by
Philip Trettner
Browse files
fixed face_fill
parent
483f4652
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/polymesh/impl/impl_mesh.hh
View file @
ccd228a2
...
...
@@ -741,10 +741,15 @@ inline face_index Mesh::face_fill(halfedge_index h)
// set face
h_ref
.
face
=
f
;
//
set
boundary
//
fix face
boundary
if
(
is_boundary
(
opposite
(
h
)))
f_ref
.
halfedge
=
h
;
// fix adj face boundary
auto
adj_face
=
halfedge
(
opposite
(
h
)).
face
;
if
(
adj_face
.
is_valid
())
fix_boundary_state_of
(
adj_face
);
// advance
h
=
h_ref
.
next_halfedge
;
}
while
(
h
!=
h_begin
);
...
...
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