summaryrefslogtreecommitdiff
path: root/assetFactory/shape.h
diff options
context:
space:
mode:
Diffstat (limited to 'assetFactory/shape.h')
-rw-r--r--assetFactory/shape.h8
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);
};