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, 3 insertions, 1 deletions
diff --git a/game/terrain.h b/game/terrain.h
index c039730..0edf4bd 100644
--- a/game/terrain.h
+++ b/game/terrain.h
@@ -27,7 +27,9 @@ public:
private:
static constexpr unsigned int NUM_BUFFERS {4};
- Vertex & v(unsigned int, unsigned int);
+ void finish(unsigned int width, unsigned int height, unsigned int resolution);
+
+ Vertex & v(unsigned int width, unsigned int x, unsigned int z);
GLuint m_vertexArrayObject;
std::array<GLuint, NUM_BUFFERS> m_vertexArrayBuffers;