diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-03-09 18:25:39 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-03-09 18:25:39 +0000 |
commit | 001be698401ef488cb3d30fb71c1a13c809407c8 (patch) | |
tree | 25f2f2634fcd7432092aa07f644dd00d1293f8d9 /assetFactory/shape.h | |
parent | Add a generic persistence perf test (diff) | |
parent | Rewrite asset factory cylinder generator (diff) | |
download | ilt-001be698401ef488cb3d30fb71c1a13c809407c8.tar.bz2 ilt-001be698401ef488cb3d30fb71c1a13c809407c8.tar.xz ilt-001be698401ef488cb3d30fb71c1a13c809407c8.zip |
Merge branch 'model-factory-fixup'
Diffstat (limited to 'assetFactory/shape.h')
-rw-r--r-- | assetFactory/shape.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/assetFactory/shape.h b/assetFactory/shape.h index 5a2b59c..fe517c1 100644 --- a/assetFactory/shape.h +++ b/assetFactory/shape.h @@ -1,9 +1,9 @@ #pragma once #include "modelFactoryMesh_fwd.h" -#include "mutation.h" #include "stdTypeDefs.hpp" #include <OpenMesh/Core/Mesh/Handles.hh> +#include <glm/vec3.hpp> #include <map> #include <span> #include <string> @@ -18,8 +18,8 @@ public: virtual ~Shape() = default; - virtual CreatedFaces createMesh(ModelFactoryMesh &, const Mutation::Matrix & mutation) const = 0; + virtual CreatedFaces createMesh(ModelFactoryMesh &, float levelOfDetailFactor) const = 0; - static std::vector<OpenMesh::VertexHandle> addMutatedToMesh( - ModelFactoryMesh & mesh, const std::span<const glm::vec3> vertices, const Mutation::Matrix & mutation); + static std::vector<OpenMesh::VertexHandle> addToMesh( + ModelFactoryMesh & mesh, const std::span<const glm::vec3> vertices); }; |