summaryrefslogtreecommitdiff
path: root/assetFactory/plane.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-02-25 03:10:25 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2023-02-25 03:10:25 +0000
commitf6f085d3744990a6e80927aa17f4c5d77456d4f9 (patch)
tree4fabf3145e619311457676c10bb255f0828cb0a4 /assetFactory/plane.cpp
parentAdd face name property and wrapper to add a named face (diff)
downloadilt-f6f085d3744990a6e80927aa17f4c5d77456d4f9.tar.bz2
ilt-f6f085d3744990a6e80927aa17f4c5d77456d4f9.tar.xz
ilt-f6f085d3744990a6e80927aa17f4c5d77456d4f9.zip
Primitives add named faces
Diffstat (limited to 'assetFactory/plane.cpp')
-rw-r--r--assetFactory/plane.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/assetFactory/plane.cpp b/assetFactory/plane.cpp
index 37c8194..563c4e9 100644
--- a/assetFactory/plane.cpp
+++ b/assetFactory/plane.cpp
@@ -11,5 +11,5 @@ Plane::createMesh(ModelFactoryMesh & mesh, const Mutation::Matrix & mutation) co
{n, y, z},
}};
- return {{"plane", mesh.add_face(addMutatedToMesh(mesh, VERTICES, mutation))}};
+ return {mesh.add_namedFace("plane", addMutatedToMesh(mesh, VERTICES, mutation))};
}