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/shape.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'assetFactory/shape.h') 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 addToMesh( ModelFactoryMesh & mesh, const std::span vertices); -- cgit v1.2.3