summaryrefslogtreecommitdiff
path: root/assetFactory/cylinder.cpp
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/cylinder.cpp
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/cylinder.cpp')
-rw-r--r--assetFactory/cylinder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/assetFactory/cylinder.cpp b/assetFactory/cylinder.cpp
index 58980cf..29c09b0 100644
--- a/assetFactory/cylinder.cpp
+++ b/assetFactory/cylinder.cpp
@@ -9,7 +9,7 @@ Cylinder::createMesh(ModelFactoryMesh & mesh, float lodf) const
const auto step = two_pi / static_cast<float>(P);
// Generate 2D circumference points
- std::vector<Position2D> circumference(P);
+ std::vector<RelativePosition2D> circumference(P);
std::generate(circumference.begin(), circumference.end(), [a = 0.F, step]() mutable {
return sincosf(a += step) * .5F;
});