Skip to content
GitLab
Menu
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
03dcb61c
Commit
03dcb61c
authored
Jul 25, 2018
by
Philip Trettner
Browse files
fixed vertex removal
parent
6abf39e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/polymesh/impl/impl_low_level_api_mutable.hh
View file @
03dcb61c
...
@@ -372,7 +372,7 @@ inline void low_level_api_mutable::fix_boundary_state_of_vertices(face_index f_i
...
@@ -372,7 +372,7 @@ inline void low_level_api_mutable::fix_boundary_state_of_vertices(face_index f_i
inline
void
low_level_api_mutable
::
set_removed
(
vertex_index
idx
)
const
inline
void
low_level_api_mutable
::
set_removed
(
vertex_index
idx
)
const
{
{
assert
(
!
is_removed
(
idx
)
&&
"cannot remove an already removed entry"
);
assert
(
!
is_removed
(
idx
)
&&
"cannot remove an already removed entry"
);
outgoing_halfedge_of
(
idx
)
=
halfedge_index
::
invalid
()
;
outgoing_halfedge_of
(
idx
)
.
value
=
-
2
;
// bookkeeping
// bookkeeping
m
.
mRemovedVertices
++
;
m
.
mRemovedVertices
++
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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