summaryrefslogtreecommitdiff
path: root/assetFactory/shape.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/shape.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/shape.cpp')
-rw-r--r--assetFactory/shape.cpp2
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) {