summaryrefslogtreecommitdiff
path: root/assetFactory/mutation.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-01-01 19:48:53 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2024-01-01 19:48:53 +0000
commit0a0f40c7ef055b39b061072299326a786ca0be7b (patch)
tree71b084064f9f6af86e0273cfcd1edf355d5954d6 /assetFactory/mutation.h
parentnodiscard in Asset factory mutation (diff)
downloadilt-0a0f40c7ef055b39b061072299326a786ca0be7b.tar.bz2
ilt-0a0f40c7ef055b39b061072299326a786ca0be7b.tar.xz
ilt-0a0f40c7ef055b39b061072299326a786ca0be7b.zip
Remove more use of legacy types from asset factory
Diffstat (limited to 'assetFactory/mutation.h')
-rw-r--r--assetFactory/mutation.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/assetFactory/mutation.h b/assetFactory/mutation.h
index 20fe440..4fa7e01 100644
--- a/assetFactory/mutation.h
+++ b/assetFactory/mutation.h
@@ -11,9 +11,10 @@ struct Mutation {
[[nodiscard]] Matrix getMatrix() const;
[[nodiscard]] Matrix getDeformationMatrix() const;
[[nodiscard]] Matrix getLocationMatrix() const;
+
[[nodiscard]] float relativeLevelOfDetail() const;
- Position3D position {};
+ RelativePosition3D position {};
Rotation3D rotation {};
Scale3D scale {1};