summaryrefslogtreecommitdiff
path: root/game/terrain.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-04-06 00:47:37 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2024-04-06 00:47:37 +0100
commit737ce277a6e49d88a04be1e384eef09d486f513b (patch)
tree2eeb29d316567b1157d7a32753658df5c5f36741 /game/terrain.h
parentMerge remote-tracking branch 'origin/deform-terrain' (diff)
downloadilt-737ce277a6e49d88a04be1e384eef09d486f513b.tar.bz2
ilt-737ce277a6e49d88a04be1e384eef09d486f513b.tar.xz
ilt-737ce277a6e49d88a04be1e384eef09d486f513b.zip
Split water from terrain
Shares the geo data instance, and still has the same implementation at this stage.
Diffstat (limited to 'game/terrain.h')
-rw-r--r--game/terrain.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/game/terrain.h b/game/terrain.h
index d62f138..54593fc 100644
--- a/game/terrain.h
+++ b/game/terrain.h
@@ -19,12 +19,11 @@ public:
void shadows(const ShadowMapper &) const override;
void tick(TickDuration) override;
- float waveCycle {0.F};
private:
void generateMeshes();
std::shared_ptr<GeoData> geoData;
Collection<Mesh, false> meshes;
- std::shared_ptr<Texture> grass, water;
+ std::shared_ptr<Texture> grass;
};