Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilhem Saurel
hpp-fcl
Commits
e7d6ddc8
Commit
e7d6ddc8
authored
Jun 12, 2019
by
Joseph Mirabel
Browse files
[Minor][Assimp] Code cleaning.
parent
71984f28
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/hpp/fcl/mesh_loader/assimp.h
View file @
e7d6ddc8
...
...
@@ -64,11 +64,6 @@ namespace fcl
struct
TriangleAndVertices
{
void
clear
()
{
vertices_
.
clear
();
triangles_
.
clear
();
}
std
::
vector
<
fcl
::
Vec3f
>
vertices_
;
std
::
vector
<
fcl
::
Triangle
>
triangles_
;
};
...
...
@@ -116,8 +111,6 @@ inline void meshFromAssimpScene(const std::string & name,
throw
std
::
runtime_error
(
error
.
str
());
}
tv
.
clear
();
buildMesh
(
scale
,
scene
,
scene
->
mRootNode
,
(
unsigned
)
mesh
->
num_vertices
,
tv
);
mesh
->
addSubModel
(
tv
.
vertices_
,
tv
.
triangles_
);
...
...
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