diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-12-22 12:41:37 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-12-22 12:41:37 +0000 |
commit | 20308e0a8d62e575237310b7de919e9c7410a9d7 (patch) | |
tree | cb6d403321f1288bfdbc5c0e29583691661322ba /game/geoData.h | |
parent | Adjust track height to blend into terrain (diff) | |
download | ilt-20308e0a8d62e575237310b7de919e9c7410a9d7.tar.bz2 ilt-20308e0a8d62e575237310b7de919e9c7410a9d7.tar.xz ilt-20308e0a8d62e575237310b7de919e9c7410a9d7.zip |
Store a generation number for GeoData
Diffstat (limited to 'game/geoData.h')
-rw-r--r-- | game/geoData.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/game/geoData.h b/game/geoData.h index 01582a6..8eda99a 100644 --- a/game/geoData.h +++ b/game/geoData.h @@ -84,6 +84,7 @@ public: }; void setHeights(std::span<const GlobalPosition3D> triangleStrip, const SetHeightsOpts &); + [[nodiscard]] size_t getGeneration() const; [[nodiscard]] auto getExtents() const @@ -128,4 +129,5 @@ protected: private: GlobalPosition3D lowerExtent {}, upperExtent {}; + size_t generation {}; }; |