summaryrefslogtreecommitdiff
path: root/game/terrain.h
diff options
context:
space:
mode:
Diffstat (limited to 'game/terrain.h')
-rw-r--r--game/terrain.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/game/terrain.h b/game/terrain.h
index 81ee128..9b5e25e 100644
--- a/game/terrain.h
+++ b/game/terrain.h
@@ -25,13 +25,9 @@ public:
private:
static constexpr unsigned int NUM_BUFFERS {4};
- void finish(unsigned int width, unsigned int height, unsigned int resolution);
-
- Vertex & v(unsigned int width, unsigned int x, unsigned int z);
+ void finish(unsigned int width, unsigned int height, unsigned int resolution, std::vector<Vertex> &);
Collection<Mesh, false> meshes;
- std::vector<Vertex> vertices;
- std::vector<unsigned int> indices;
std::shared_ptr<Texture> texture;
};