summaryrefslogtreecommitdiff
path: root/game/terrain.h
diff options
context:
space:
mode:
Diffstat (limited to 'game/terrain.h')
-rw-r--r--game/terrain.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/game/terrain.h b/game/terrain.h
index 1aed1c5..2cec963 100644
--- a/game/terrain.h
+++ b/game/terrain.h
@@ -20,13 +20,13 @@ public:
void render(const Shader & shader) const override;
- void tick(TickDuration) override { }
+ void tick(TickDuration) override;
+ float waveCycle {0.F};
private:
static constexpr unsigned int NUM_BUFFERS {4};
void finish(unsigned int width, unsigned int height, std::vector<Vertex> &);
- void addWater(unsigned int width, unsigned int height, unsigned int resolution);
Collection<Mesh, false> meshes;
std::shared_ptr<Texture> grass, water;