diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-01-01 19:48:53 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-01-01 19:48:53 +0000 |
commit | 0a0f40c7ef055b39b061072299326a786ca0be7b (patch) | |
tree | 71b084064f9f6af86e0273cfcd1edf355d5954d6 /assetFactory/shape.cpp | |
parent | nodiscard in Asset factory mutation (diff) | |
download | ilt-0a0f40c7ef055b39b061072299326a786ca0be7b.tar.bz2 ilt-0a0f40c7ef055b39b061072299326a786ca0be7b.tar.xz ilt-0a0f40c7ef055b39b061072299326a786ca0be7b.zip |
Remove more use of legacy types from asset factory
Diffstat (limited to 'assetFactory/shape.cpp')
-rw-r--r-- | assetFactory/shape.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/assetFactory/shape.cpp b/assetFactory/shape.cpp index 0f83ee5..9aaae05 100644 --- a/assetFactory/shape.cpp +++ b/assetFactory/shape.cpp @@ -3,7 +3,7 @@ #include "shape.h" std::vector<OpenMesh::VertexHandle> -Shape::addToMesh(ModelFactoryMesh & mesh, const std::span<const Position3D> vertices) +Shape::addToMesh(ModelFactoryMesh & mesh, const std::span<const RelativePosition3D> vertices) { std::vector<OpenMesh::VertexHandle> vhs; std::transform(vertices.begin(), vertices.end(), std::back_inserter(vhs), [&mesh](const auto & p) { |