diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-03-18 01:04:42 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-03-18 01:04:42 +0000 |
commit | 46fc283494027fe1e2aaf5eae457a2be1c65efab (patch) | |
tree | 277cfac8d140059918697255be3a819b0a6b1efb | |
parent | Switch to using planes instead of triangles for deformaton cut (diff) | |
download | ilt-46fc283494027fe1e2aaf5eae457a2be1c65efab.tar.bz2 ilt-46fc283494027fe1e2aaf5eae457a2be1c65efab.tar.xz ilt-46fc283494027fe1e2aaf5eae457a2be1c65efab.zip |
maybe_unused return from cut point search
Only asserted
-rw-r--r-- | game/geoData.cpp | 2 |
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); |