diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-03-09 18:18:43 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-03-09 18:18:43 +0000 |
commit | 92c1aed7a471f34e18eb8d0077aad90fd8b7344b (patch) | |
tree | bf78c2ec29a06e22c7cd8c695b22de83694cc5a4 /assetFactory/modelFactoryMesh.cpp | |
parent | Refactor of asset factory to address mutation/face controller logic (diff) | |
download | ilt-92c1aed7a471f34e18eb8d0077aad90fd8b7344b.tar.bz2 ilt-92c1aed7a471f34e18eb8d0077aad90fd8b7344b.tar.xz ilt-92c1aed7a471f34e18eb8d0077aad90fd8b7344b.zip |
Make add_namedFace a thin template wrapper
Diffstat (limited to 'assetFactory/modelFactoryMesh.cpp')
-rw-r--r-- | assetFactory/modelFactoryMesh.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/assetFactory/modelFactoryMesh.cpp b/assetFactory/modelFactoryMesh.cpp index f9ee6a0..806ac3b 100644 --- a/assetFactory/modelFactoryMesh.cpp +++ b/assetFactory/modelFactoryMesh.cpp @@ -5,11 +5,3 @@ ModelFactoryMesh::ModelFactoryMesh() add_property(smoothFaceProperty); add_property(nameFaceProperty); } - -std::pair<std::string, OpenMesh::FaceHandle> -ModelFactoryMesh::add_namedFace(std::string name, std::vector<OpenMesh::VertexHandle> p) -{ - const auto handle = add_face(std::move(p)); - property(nameFaceProperty, handle) = name; - return std::make_pair(name, handle); -} |