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
f56312d6
Commit
f56312d6
authored
Sep 10, 2020
by
Philip Trettner
Browse files
fixed cut
parent
4a789159
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/polymesh/impl/impl_low_level_api_mutable.hh
View file @
f56312d6
...
...
@@ -508,9 +508,10 @@ inline halfedge_index low_level_api_mutable::face_cut(face_index f, halfedge_ind
// rewire faces
{
auto
h
=
h0
_next
;
auto
h
=
h0
;
do
{
h
=
next_halfedge_of
(
h
);
if
(
is_boundary
(
opposite
(
h
)))
halfedge_of
(
nf
)
=
h
;
face_of
(
h
)
=
nf
;
...
...
@@ -522,9 +523,10 @@ inline halfedge_index low_level_api_mutable::face_cut(face_index f, halfedge_ind
// fix face halfedge of f (nf is already fixed)
{
auto
h
=
h1
_next
;
auto
h
=
h1
;
do
{
h
=
next_halfedge_of
(
h
);
if
(
is_boundary
(
opposite
(
h
)))
{
halfedge_of
(
f
)
=
h
;
...
...
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