summaryrefslogtreecommitdiff
path: root/assetFactory/faceController.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-03-20 18:55:44 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2023-03-20 18:55:44 +0000
commitfe1913b3f3742077763d7a6fc9fcac219900a4ae (patch)
tree3f5ae92090aa816f570ebb8b93e58082b0051ca6 /assetFactory/faceController.h
parentSupport applying a single face controller to multiple faces (diff)
downloadilt-fe1913b3f3742077763d7a6fc9fcac219900a4ae.tar.bz2
ilt-fe1913b3f3742077763d7a6fc9fcac219900a4ae.tar.xz
ilt-fe1913b3f3742077763d7a6fc9fcac219900a4ae.zip
Slightly tidier FaceController? It's still a mess
Diffstat (limited to 'assetFactory/faceController.h')
-rw-r--r--assetFactory/faceController.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/assetFactory/faceController.h b/assetFactory/faceController.h
index 890aafa..962a516 100644
--- a/assetFactory/faceController.h
+++ b/assetFactory/faceController.h
@@ -31,4 +31,7 @@ private:
void applySingle(ModelFactoryMesh & mesh, const Style::StyleStack & parents, const std::string & name,
Shape::CreatedFaces & faces) const;
+ static std::string getAdjacentFaceName(const ModelFactoryMesh & mesh,
+ const std::span<const OpenMesh::FaceHandle> ofrange, OpenMesh::FaceHandle nf);
+ Shape::CreatedFaces extrude(ModelFactoryMesh & mesh, const std::string & faceName, OpenMesh::FaceHandle) const;
};