diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-10-27 15:52:47 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-10-27 15:52:47 +0000 |
commit | f35a245c1bd621f3af2956fb0e6dd01b0e23f421 (patch) | |
tree | 2ef284c46d546b247576d2937a0ceec4af201114 /game/terrain.h | |
parent | Add stream support for tuples (diff) | |
download | ilt-f35a245c1bd621f3af2956fb0e6dd01b0e23f421.tar.bz2 ilt-f35a245c1bd621f3af2956fb0e6dd01b0e23f421.tar.xz ilt-f35a245c1bd621f3af2956fb0e6dd01b0e23f421.zip |
Support regenerating the terrain mesh from updated geodata
Diffstat (limited to 'game/terrain.h')
-rw-r--r-- | game/terrain.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/game/terrain.h b/game/terrain.h index 1c79d19..7d074cf 100644 --- a/game/terrain.h +++ b/game/terrain.h @@ -27,9 +27,9 @@ public: RGB colourBias; }; -private: void generateMeshes(); +private: std::shared_ptr<GeoData> geoData; Collection<MeshT<Vertex>, false> meshes; Texture::Ptr grass; |