4 #include <gmath/gmath.h>
8 /* generates geodesic sphere: if hemi is true we only gen the hemisphere */
9 void gen_geosphere(Mesh *mesh, float rad, int subdiv, bool hemi = false);
10 void gen_heightfield(Mesh *mesh, float xsz, float ysz, float height, int usub,
11 int vsub, float (*calc_height)(float u, float v, void *ptr), void *ptr);