summaryrefslogtreecommitdiff
path: root/assetFactory/mutation.h
diff options
context:
space:
mode:
Diffstat (limited to 'assetFactory/mutation.h')
-rw-r--r--assetFactory/mutation.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/assetFactory/mutation.h b/assetFactory/mutation.h
new file mode 100644
index 0000000..440fab0
--- /dev/null
+++ b/assetFactory/mutation.h
@@ -0,0 +1,14 @@
+#pragma once
+
+#include <glm/mat4x4.hpp>
+#include <glm/vec3.hpp>
+
+struct Mutation {
+ using Matrix = glm::mat4;
+
+ Matrix getMatrix() const;
+
+ glm::vec3 position {};
+ glm::vec3 rotation {};
+ glm::vec3 scale {1};
+};