Go to the documentation of this file.
11 int load(
Graphics &gfx,
char *texture_str,
char *heightmap,
int depth,
float scale);
12 void drawTriangle(
const vec3 &v1,
const vec3 &v2,
const vec3 &v3,
float scale,
unsigned char *image,
int width,
int height);
13 void subdivide(
const vec3 &v1,
const vec3 &v2,
const vec3 &v3,
int depth,
float scale,
unsigned char *image,
int width,
int height);
14 void generate(
int depth,
float scale,
unsigned char *image,
int width,
int height);