#include <terrain.h>
Collaboration diagram for LsgTerrain:

Data Fields | |
| LsgGLList | super |
Related Functions | |
| (Note that these are not member functions.) | |
| LsgTerrain * | LsgTerrain_create (LsgImage *hf, Vertex dim) |
| void | LsgTerrain_init (LsgTerrain *self, LsgImage *hf, Vertex dim) |
Heightfield/Terrain using a single OpenGL list to store vertex / normal data.
|
||||||||||||
|
Allocate and initialize a terrain node.
|
|
||||||||||||||||
|
Constructor method for LsgTerrain. Convert a bitmaps pixel values to vertices and store them in an OpenGL list alongside with calculated normals.
|