diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-01-27 22:33:20 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-01-27 22:33:20 +0000 |
commit | 8dc04dedbba31030b83b1a23c48c6bea02eea100 (patch) | |
tree | 6c504b3d03138976a541af2f06ade4e023759186 /assetFactory/shape.h | |
parent | Merge branch 'text2' (diff) | |
download | ilt-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/shape.h')
-rw-r--r-- | assetFactory/shape.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/assetFactory/shape.h b/assetFactory/shape.h index 2c2e702..8f4fccf 100644 --- a/assetFactory/shape.h +++ b/assetFactory/shape.h @@ -19,7 +19,7 @@ public: virtual ~Shape() = default; - virtual CreatedFaces createMesh(ModelFactoryMesh &, float levelOfDetailFactor) const = 0; + virtual CreatedFaces createMesh(ModelFactoryMesh &, Scale3D levelOfDetailFactor) const = 0; static std::vector<OpenMesh::VertexHandle> addToMesh( ModelFactoryMesh & mesh, const std::span<const RelativePosition3D> vertices); |