From e7d6ddc89a4ffcd8eabd128a700db55b2b1b8a98 Mon Sep 17 00:00:00 2001 From: Joseph Mirabel <jmirabel@laas.fr> Date: Wed, 12 Jun 2019 18:03:06 +0200 Subject: [PATCH] [Minor][Assimp] Code cleaning. --- include/hpp/fcl/mesh_loader/assimp.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/include/hpp/fcl/mesh_loader/assimp.h b/include/hpp/fcl/mesh_loader/assimp.h index 9a54415a..27948e20 100644 --- a/include/hpp/fcl/mesh_loader/assimp.h +++ b/include/hpp/fcl/mesh_loader/assimp.h @@ -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_); -- GitLab