Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
OpenMesh
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
11
Issues
11
List
Boards
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenMesh
OpenMesh
Commits
7175cd8c
Commit
7175cd8c
authored
Nov 07, 2016
by
Jan Möbius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Several warnings
parent
79ce71f2
Pipeline
#3529
canceled with stage
in 13 minutes and 38 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/OpenMesh/Tools/Subdivider/Uniform/Composite/CompositeT.cc
...OpenMesh/Tools/Subdivider/Uniform/Composite/CompositeT.cc
+1
-1
src/Unittests/unittests_tutorials.cc
src/Unittests/unittests_tutorials.cc
+3
-3
No files found.
src/OpenMesh/Tools/Subdivider/Uniform/Composite/CompositeT.cc
View file @
7175cd8c
...
...
@@ -589,7 +589,7 @@ void CompositeT<MeshType,RealType>::FVc(Coeff& _coeff)
if
(
mesh_
.
face_handle
(
mesh_
.
opposite_halfedge_handle
(
mesh_
.
next_halfedge_handle
(
*
voh_it
))).
is_valid
())
{
cog
+=
mesh_
.
data
(
mesh_
.
face_handle
(
*
voh_it
)).
position
()
*
c
;
cog
+=
mesh_
.
data
(
mesh_
.
face_handle
(
mesh_
.
opposite_halfedge_handle
(
mesh_
.
next_halfedge_handle
(
*
voh_it
)))).
position
()
*
(
1.0
-
c
);
cog
+=
mesh_
.
data
(
mesh_
.
face_handle
(
mesh_
.
opposite_halfedge_handle
(
mesh_
.
next_halfedge_handle
(
*
voh_it
)))).
position
()
*
(
static_cast
<
typename
MeshType
::
Point
::
value_type
>
(
1.0
)
-
c
);
}
else
{
cog
+=
mesh_
.
data
(
mesh_
.
face_handle
(
*
voh_it
)).
position
();
}
...
...
src/Unittests/unittests_tutorials.cc
View file @
7175cd8c
...
...
@@ -57,7 +57,7 @@ struct MyData
bool
operator
!=
(
const
MyData
&
_rhs
)
const
{
return
!
(
*
this
==
_rhs
);
}
};
typedef
std
::
map
<
std
::
string
,
size_
t
>
MyMap
;
typedef
std
::
map
<
std
::
string
,
unsigned
in
t
>
MyMap
;
namespace
OpenMesh
{
namespace
IO
{
...
...
@@ -114,7 +114,7 @@ namespace OpenMesh {
return
sizeof
(
unsigned
int
);
value_type
::
const_iterator
it
=
_v
.
begin
();
size_
t
N
=
_v
.
size
();
unsigned
in
t
N
=
_v
.
size
();
size_t
bytes
=
IO
::
size_of
(
N
);
for
(;
it
!=
_v
.
end
();
++
it
)
{
...
...
@@ -128,7 +128,7 @@ namespace OpenMesh {
size_t
store
(
std
::
ostream
&
_os
,
const
value_type
&
_v
,
bool
_swap
=
false
)
{
size_t
bytes
=
0
;
size_
t
N
=
_v
.
size
();
unsigned
in
t
N
=
_v
.
size
();
value_type
::
const_iterator
it
=
_v
.
begin
();
bytes
+=
IO
::
store
(
_os
,
N
,
_swap
);
for
(;
it
!=
_v
.
end
()
&&
_os
.
good
();
++
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