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
Thomas Pitiot
CGoGN
Commits
4ddf5691
Commit
4ddf5691
authored
Feb 07, 2011
by
Thomas
Browse files
Merge branch 'master' of cgogn:~kraemer/CGoGN
parents
b4dc5ce8
2e9620c2
Changes
1
Show whitespace changes
Inline
Side-by-side
include/Algo/ImplicitHierarchicalMesh/subdivision.hpp
View file @
4ddf5691
...
...
@@ -164,8 +164,10 @@ void coarsenFace(typename PFP::MAP& map, Dart d, typename PFP::TVEC3& position)
assert
(
map
.
faceIsSubdividedOnce
(
d
)
||
!
"Trying to coarsen a non-subdivided face or a more than once subdivided face"
)
;
unsigned
int
cur
=
map
.
getCurrentLevel
()
;
map
.
setCurrentLevel
(
cur
+
1
)
;
Dart
cv
=
map
.
phi1
(
map
.
phi1
(
d
))
;
map
.
setCurrentLevel
(
map
.
getMaxLevel
())
;
map
.
deleteVertex
(
map
.
phi1
(
map
.
phi1
(
d
))
)
;
map
.
deleteVertex
(
cv
)
;
map
.
setCurrentLevel
(
cur
)
;
Dart
fit
=
d
;
do
...
...
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