#include <LandPatch.h>
Inheritance diagram for LandPatch:
Public Member Functions | |
LandPatch (float *height_field, int size_x, int size_y, int offset_x, int offset_y, int total_x, int total_y, float stride, int xy_jump) | |
~LandPatch () | |
Private Attributes | |
float * | data |
GLuint * | indices |
A patch of a landscape which gets build from a height field. Uses vertex arrays to display itself.
Definition at line 17 of file LandPatch.h.
|
Constructor: Builds the geometry for the patch. The parameters of this routines are not validated, which means that the construction will fail if they do not make sense.
Definition at line 4 of file LandPatch.cpp. |
|
Destructor. Definition at line 122 of file LandPatch.cpp. |