summaryrefslogtreecommitdiff
path: root/assetFactory/use.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'assetFactory/use.cpp')
-rw-r--r--assetFactory/use.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/assetFactory/use.cpp b/assetFactory/use.cpp
index 5e45c87..9db3495 100644
--- a/assetFactory/use.cpp
+++ b/assetFactory/use.cpp
@@ -15,9 +15,7 @@ Use::createMesh(ModelFactoryMesh & mesh, float levelOfDetailFactor) const
const auto fvr = mesh.fv_range(f.second);
for (const auto & v : fvr) {
if (!vs.contains(v)) {
- glm::vec3 p = mesh.point(v);
- p = p % m;
- mesh.set_point(v, ModelFactoryMesh::Point(p.x, p.y, p.z));
+ mesh.point(v) %= m;
vs.insert(v);
}
}