summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-03-18 01:04:42 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2024-03-18 01:04:42 +0000
commit46fc283494027fe1e2aaf5eae457a2be1c65efab (patch)
tree277cfac8d140059918697255be3a819b0a6b1efb
parentSwitch to using planes instead of triangles for deformaton cut (diff)
downloadilt-46fc283494027fe1e2aaf5eae457a2be1c65efab.tar.bz2
ilt-46fc283494027fe1e2aaf5eae457a2be1c65efab.tar.xz
ilt-46fc283494027fe1e2aaf5eae457a2be1c65efab.zip
maybe_unused return from cut point search
Only asserted
-rw-r--r--game/geoData.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/game/geoData.cpp b/game/geoData.cpp
index bf3192e..e29fb93 100644
--- a/game/geoData.cpp
+++ b/game/geoData.cpp
@@ -506,7 +506,7 @@ GeoData::setHeights(const std::span<const GlobalPosition3D> triangleStrip)
out.emplace_back(first.extrusionVertex);
for (auto currentVertex = first.extrusionVertex;
!find_halfedge(currentVertex, second.extrusionVertex).is_valid();) {
- auto n = std::any_of(
+ [[maybe_unused]] const auto n = std::any_of(
voh_begin(currentVertex), voh_end(currentVertex), [&](const auto currentVertexOut) {
const auto next = next_halfedge_handle(currentVertexOut);
const auto nextVertex = to_vertex_handle(next);