From 8dc04dedbba31030b83b1a23c48c6bea02eea100 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 27 Jan 2024 22:33:20 +0000 Subject: 3D relative scaling in asset factory Reduces excess vertices in cylinders --- assetFactory/mutation.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'assetFactory/mutation.cpp') 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(), position) * rotate_ypr(rotation); } -float -Mutation::relativeLevelOfDetail() const -{ - return std::max({scale.x, scale.y, scale.z}); -} - bool Mutation::persist(Persistence::PersistenceStore & store) { -- cgit v1.2.3