diff options
author | Wolfgang Draxinger <Wolfgang.Draxinger@draxit.de> | 2012-04-27 20:43:08 +0200 |
---|---|---|
committer | Wolfgang Draxinger <Wolfgang.Draxinger@draxit.de> | 2012-04-27 20:43:08 +0200 |
commit | 623fc8c73de35bef0785f09bae8a3f607f8ed087 (patch) | |
tree | 8d14f7bff925e01e90557db6b8ffb282b9784c3d /samples/OpenGL/qt_terr/terrain.h | |
parent | 91925ccf445f27ba98a1292e77cda208cbf86551 (diff) | |
download | codesamples-623fc8c73de35bef0785f09bae8a3f607f8ed087.tar.gz codesamples-623fc8c73de35bef0785f09bae8a3f607f8ed087.tar.bz2 |
qt_terr - a simple quadtree based terrain renderer with LOD
Diffstat (limited to 'samples/OpenGL/qt_terr/terrain.h')
-rw-r--r-- | samples/OpenGL/qt_terr/terrain.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/samples/OpenGL/qt_terr/terrain.h b/samples/OpenGL/qt_terr/terrain.h new file mode 100644 index 0000000..0197380 --- /dev/null +++ b/samples/OpenGL/qt_terr/terrain.h @@ -0,0 +1,26 @@ +#ifndef TERRAIN_H
+#define TERRAIN_H
+
+#include "quad.h"
+
+#include <vector>
+
+class Terrain : public Quad
+{
+public:
+ double * const z_mean() {
+
+ };
+ double z[2][2];
+
+public:
+ Terrain();
+
+ virtual void split();
+ virtual void track_down(double x, double y, double nz, int levels);
+
+/*protected:
+ virtual void set_range(double nx1, double nx2, double ny1, double ny2);*/
+};
+
+#endif/*TERRAIN_H*/
|