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
OpenMesh
OpenMesh
Commits
d7677598
Commit
d7677598
authored
Oct 27, 2016
by
Jan Möbius
Browse files
Warning in subdivider fixed
parent
6f9589dc
Pipeline
#3398
passed with stage
in 67 minutes and 30 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
src/OpenMesh/Tools/Smoother/JacobiLaplaceSmootherT.cc
View file @
d7677598
...
@@ -181,7 +181,7 @@ compute_new_positions_C1()
...
@@ -181,7 +181,7 @@ compute_new_positions_C1()
if
(
diag
)
uu
*=
static_cast
<
typename
Mesh
::
Scalar
>
(
1.0
)
/
diag
;
if
(
diag
)
uu
*=
static_cast
<
typename
Mesh
::
Scalar
>
(
1.0
)
/
diag
;
// damping
// damping
uu
*=
0.25
;
uu
*=
static_cast
<
typename
Mesh
::
Normal
::
value_type
>
(
0.25
)
;
// store new position
// store new position
p
=
vector_cast
<
typename
Mesh
::
Normal
>
(
Base
::
mesh_
.
point
(
*
v_it
));
p
=
vector_cast
<
typename
Mesh
::
Normal
>
(
Base
::
mesh_
.
point
(
*
v_it
));
...
...
Write
Preview
Markdown
is supported
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