From 7d5c1adf8e581599848b3fec54e0af88eb469046 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Sun, 8 May 2011 15:02:30 +0200 Subject: Working dynamic generation of terrain. --- scene.h | 1 + 1 file changed, 1 insertion(+) (limited to 'scene.h') diff --git a/scene.h b/scene.h index 59f0c79..af4f96f 100644 --- a/scene.h +++ b/scene.h @@ -22,6 +22,7 @@ class Scene { bool running; bool grid; + bool normals; bool terrain; bool gravity; bool dialog; -- cgit v1.2.3 From 595ac4744b75688f7ca61993c42ea9eedab3a6b7 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Sun, 8 May 2011 15:52:41 +0200 Subject: Merged Quadtree and friends into Terrain. --- scene.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'scene.h') diff --git a/scene.h b/scene.h index af4f96f..82c1100 100644 --- a/scene.h +++ b/scene.h @@ -2,7 +2,7 @@ #define SCENE_H #include "vector.h" -#include "quadtree.h" +#include "terrain.h" #include "gl.h" #include "shader.h" #include "gui.h" @@ -15,7 +15,7 @@ class Scene { float pitch, yaw; Vector3 pos; float yvel; - Quadtree *qt; + Terrain *terrain; FTFont *font; GUI *gui; Tool *tool; @@ -23,11 +23,11 @@ class Scene { bool running; bool grid; bool normals; - bool terrain; + bool render_terrain; bool gravity; bool dialog; - Quadtree::QuadNode *last_node; + Terrain::Node *last_node; unsigned int last_time; Vector3 selected; -- cgit v1.2.3