summaryrefslogtreecommitdiff
path: root/quadtree.h
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2011-04-03 15:09:13 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2011-04-03 15:09:13 +0200
commit61fe986e9ad6d1f26275e2ffd72cae0c2542256c (patch)
tree857429da1978c1932387831214bab82cf6847bf9 /quadtree.h
parent156683c7cbcd697f09f5101fd14c01051928edb8 (diff)
Implemented very ineffective dynamic terrain LOD.
Diffstat (limited to 'quadtree.h')
-rw-r--r--quadtree.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/quadtree.h b/quadtree.h
index 53669d0..951a98e 100644
--- a/quadtree.h
+++ b/quadtree.h
@@ -19,6 +19,7 @@ class Quadtree {
float distance(float px, float pz);
void fill();
+ void fix_cracks();
void subdivide(bool leaf = true);
void merge();
void draw();
@@ -38,6 +39,7 @@ class Quadtree {
virtual ~Quadtree();
void update(float x, float z);
+ void fix_cracks();
void create_nodes(int levels);
unsigned int count_nodes();
void make_vbo();