#include <isosphere.h>
|
| | IsoSphere () |
| |
| int | load (Graphics &gfx, char *texture_str, char *heightmap, int depth, float scale) |
| |
| void | drawTriangle (const vec3 &v1, const vec3 &v2, const vec3 &v3, float scale, unsigned char *image, int width, int height) |
| |
| void | subdivide (const vec3 &v1, const vec3 &v2, const vec3 &v3, int depth, float scale, unsigned char *image, int width, int height) |
| |
| void | generate (int depth, float scale, unsigned char *image, int width, int height) |
| |
| void | render (Graphics &gfx) |
| |
| void | destroy (Graphics &gfx) |
| |
| void IsoSphere::destroy |
( |
Graphics & |
gfx | ) |
|
| void IsoSphere::drawTriangle |
( |
const vec3 & |
v1, |
|
|
const vec3 & |
v2, |
|
|
const vec3 & |
v3, |
|
|
float |
scale, |
|
|
unsigned char * |
image, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
| void IsoSphere::generate |
( |
int |
depth, |
|
|
float |
scale, |
|
|
unsigned char * |
image, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
| int IsoSphere::load |
( |
Graphics & |
gfx, |
|
|
char * |
texture_str, |
|
|
char * |
heightmap, |
|
|
int |
depth, |
|
|
float |
scale |
|
) |
| |
| void IsoSphere::render |
( |
Graphics & |
gfx | ) |
|
| void IsoSphere::subdivide |
( |
const vec3 & |
v1, |
|
|
const vec3 & |
v2, |
|
|
const vec3 & |
v3, |
|
|
int |
depth, |
|
|
float |
scale, |
|
|
unsigned char * |
image, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
| unsigned int* IsoSphere::index_array |
|
private |
| unsigned int IsoSphere::num_index |
|
private |
| unsigned int IsoSphere::num_vert |
|
private |
The documentation for this class was generated from the following files: