bcd09ae3336373cb64a409b590dd2cb5c31c7558
[demo] / src / meshgen.h
1 #ifndef MESHGEN_H_
2 #define MESHGEN_H_
3
4 #include <gmath/gmath.h>
5
6 class Mesh;
7
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
11 #endif  // MESHGEN_H_