Skip to content
Snippets Groups Projects
Commit e7d6ddc8 authored by Joseph Mirabel's avatar Joseph Mirabel
Browse files

[Minor][Assimp] Code cleaning.

parent 71984f28
No related branches found
No related tags found
No related merge requests found
......@@ -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_);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment