Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenMesh
OpenMesh
Commits
8e81de40
Commit
8e81de40
authored
Nov 07, 2016
by
Jan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed error with VS2013
parent
dd91155f
Pipeline
#3554
passed with stage
in 80 minutes and 19 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/Unittests/unittests_trimesh_others.cc
src/Unittests/unittests_trimesh_others.cc
+1
-1
No files found.
src/Unittests/unittests_trimesh_others.cc
View file @
8e81de40
...
...
@@ -164,7 +164,7 @@ TEST_F(OpenMeshOthers, CalcDihedralAngre ) {
EXPECT_EQ
(
0.0
,
mesh_
.
calc_dihedral_angle
(
eh
)
)
<<
"Wrong Dihedral angle!"
<<
std
::
endl
;
// Modify point
Mesh
::
Point
tmp
=
(
Mesh
::
Point
(
0.0
,
0.0
,
-
1.0
)
+
Mesh
::
Point
(
1.0
,
1.0
,
-
1.0
)
)
*
static_cast
<
typename
Mesh
::
Point
::
value_type
>
(
0.5
);
Mesh
::
Point
tmp
=
(
Mesh
::
Point
(
0.0
,
0.0
,
-
1.0
)
+
Mesh
::
Point
(
1.0
,
1.0
,
-
1.0
)
)
*
static_cast
<
Mesh
::
Point
::
value_type
>
(
0.5
);
mesh_
.
point
(
vhandle
[
2
])
=
tmp
;
double
difference
=
fabs
(
1.36944
-
mesh_
.
calc_dihedral_angle
(
eh
)
);
...
...
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