diff options
Diffstat (limited to 'terrain.h')
-rw-r--r-- | terrain.h | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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); |