summaryrefslogtreecommitdiff
path: root/assetFactory/modelFactoryMesh.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-03-09 18:18:43 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2023-03-09 18:18:43 +0000
commit92c1aed7a471f34e18eb8d0077aad90fd8b7344b (patch)
treebf78c2ec29a06e22c7cd8c695b22de83694cc5a4 /assetFactory/modelFactoryMesh.cpp
parentRefactor of asset factory to address mutation/face controller logic (diff)
downloadilt-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.cpp8
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);
-}