From 737ce277a6e49d88a04be1e384eef09d486f513b Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 6 Apr 2024 00:47:37 +0100 Subject: Split water from terrain Shares the geo data instance, and still has the same implementation at this stage. --- game/terrain.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'game/terrain.h') 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; Collection meshes; - std::shared_ptr grass, water; + std::shared_ptr grass; }; -- cgit v1.2.3