diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2011-04-10 14:51:47 +0200 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2011-04-10 14:51:47 +0200 |
commit | e0c0a9f3816facd0fc4066a50479f823447e03f6 (patch) | |
tree | 0dae6e6e1472256c7c4287d34fbd0ea5cb42edbb /quadtree.h | |
parent | 70d2e2f6af64b43067d4a8421592b14d1258069b (diff) |
Simple raise/lower implementation.
Diffstat (limited to 'quadtree.h')
-rw-r--r-- | quadtree.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -52,6 +52,9 @@ class Quadtree { Quadtree(int width, int height, float *heightmap); virtual ~Quadtree(); + void raise(float x, float z, float radius, float focus, float strength); + + Vector3 calc_normal(int x, int y); void update(float x, float z); QuadNode *find(float x, float y); QuadNode *get_left(QuadNode *node); |