From 54f0ffccb2bd6032e978f94250f157b87e7f812f Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Wed, 17 Feb 2021 01:22:57 +0000 Subject: Split landmass and water meshes --- game/terrain.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'game/terrain.h') diff --git a/game/terrain.h b/game/terrain.h index 9b5e25e..ff3f92e 100644 --- a/game/terrain.h +++ b/game/terrain.h @@ -25,7 +25,8 @@ public: private: static constexpr unsigned int NUM_BUFFERS {4}; - void finish(unsigned int width, unsigned int height, unsigned int resolution, std::vector &); + void finish(unsigned int width, unsigned int height, std::vector &); + void addWater(unsigned int width, unsigned int height, unsigned int resolution); Collection meshes; std::shared_ptr texture; -- cgit v1.2.3