summaryrefslogtreecommitdiff
path: root/assetFactory/mutation.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-01-27 22:33:20 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2024-01-27 22:33:20 +0000
commit8dc04dedbba31030b83b1a23c48c6bea02eea100 (patch)
tree6c504b3d03138976a541af2f06ade4e023759186 /assetFactory/mutation.cpp
parentMerge branch 'text2' (diff)
downloadilt-8dc04dedbba31030b83b1a23c48c6bea02eea100.tar.bz2
ilt-8dc04dedbba31030b83b1a23c48c6bea02eea100.tar.xz
ilt-8dc04dedbba31030b83b1a23c48c6bea02eea100.zip
3D relative scaling in asset factory
Reduces excess vertices in cylinders
Diffstat (limited to 'assetFactory/mutation.cpp')
-rw-r--r--assetFactory/mutation.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/assetFactory/mutation.cpp b/assetFactory/mutation.cpp
index c5c3f5b..6695dff 100644
--- a/assetFactory/mutation.cpp
+++ b/assetFactory/mutation.cpp
@@ -22,12 +22,6 @@ Mutation::getLocationMatrix() const
return glm::translate(glm::identity<Matrix>(), position) * rotate_ypr(rotation);
}
-float
-Mutation::relativeLevelOfDetail() const
-{
- return std::max({scale.x, scale.y, scale.z});
-}
-
bool
Mutation::persist(Persistence::PersistenceStore & store)
{