summaryrefslogtreecommitdiff
path: root/game/geoData.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2025-02-24 00:10:07 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2025-02-24 00:10:07 +0000
commit7c04c368fe0694b38e2ab46aca078d921c7d44b1 (patch)
treec62c4f0f61ad5caf41ad0a91154cb04e8f099f30 /game/geoData.h
parentImprove number of segments in LinkCurve bases (diff)
downloadilt-7c04c368fe0694b38e2ab46aca078d921c7d44b1.tar.bz2
ilt-7c04c368fe0694b38e2ab46aca078d921c7d44b1.tar.xz
ilt-7c04c368fe0694b38e2ab46aca078d921c7d44b1.zip
Don't rely on triangle centroid not already having a surface
Diffstat (limited to 'game/geoData.h')
-rw-r--r--game/geoData.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/game/geoData.h b/game/geoData.h
index 586b48d..b2a75bd 100644
--- a/game/geoData.h
+++ b/game/geoData.h
@@ -55,7 +55,7 @@ public:
RelativeDistance maxSlope = DEFAULT_MAX_SLOPE;
};
- std::vector<FaceHandle> setHeights(std::span<const GlobalPosition3D> triangleStrip, const SetHeightsOpts &);
+ std::set<FaceHandle> setHeights(std::span<const GlobalPosition3D> triangleStrip, const SetHeightsOpts &);
[[nodiscard]] auto
getExtents() const