summaryrefslogtreecommitdiff
path: root/assetFactory/mutation.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-03-09 18:25:39 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2023-03-09 18:25:39 +0000
commit001be698401ef488cb3d30fb71c1a13c809407c8 (patch)
tree25f2f2634fcd7432092aa07f644dd00d1293f8d9 /assetFactory/mutation.h
parentAdd a generic persistence perf test (diff)
parentRewrite asset factory cylinder generator (diff)
downloadilt-001be698401ef488cb3d30fb71c1a13c809407c8.tar.bz2
ilt-001be698401ef488cb3d30fb71c1a13c809407c8.tar.xz
ilt-001be698401ef488cb3d30fb71c1a13c809407c8.zip
Merge branch 'model-factory-fixup'
Diffstat (limited to 'assetFactory/mutation.h')
-rw-r--r--assetFactory/mutation.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/assetFactory/mutation.h b/assetFactory/mutation.h
index 440fab0..e620955 100644
--- a/assetFactory/mutation.h
+++ b/assetFactory/mutation.h
@@ -7,6 +7,10 @@ struct Mutation {
using Matrix = glm::mat4;
Matrix getMatrix() const;
+ Matrix getDeformationMatrix() const;
+ Matrix getLocationMatrix() const;
+
+ float relativeLevelOfDetail() const;
glm::vec3 position {};
glm::vec3 rotation {};