summaryrefslogtreecommitdiff
path: root/terrain.h
diff options
context:
space:
mode:
Diffstat (limited to 'terrain.h')
-rw-r--r--terrain.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/terrain.h b/terrain.h
index 79a615e..b391f94 100644
--- a/terrain.h
+++ b/terrain.h
@@ -15,15 +15,14 @@ class Terrain {
struct Node {
Chunk *chunk;
- float x, y, width, height;
- float vertex_array[15];
+ float x, y;
+ float vertex_array[12];
- Node(Chunk *chunk, float x, float y, float width, float height);
+ Node(Chunk *chunk, float x, float y);
virtual ~Node();
float distance(float px, float pz);
void fill();
- void draw();
void draw_grid();
void draw_normal();
float get_height(float px, float py);