X-Git-Url: http://git.mutantstargoat.com?a=blobdiff_plain;f=src%2Fmeshgen.h;fp=src%2Fmeshgen.h;h=bcd09ae3336373cb64a409b590dd2cb5c31c7558;hb=713e854b6daf2ec0de8538be1e1eb385a213f36c;hp=0000000000000000000000000000000000000000;hpb=15cb9e608f3028a86ed878d726f1633bce9d6e04;p=demo diff --git a/src/meshgen.h b/src/meshgen.h new file mode 100644 index 0000000..bcd09ae --- /dev/null +++ b/src/meshgen.h @@ -0,0 +1,11 @@ +#ifndef MESHGEN_H_ +#define MESHGEN_H_ + +#include + +class Mesh; + +/* generates geodesic sphere: if hemi is true we only gen the hemisphere */ +void gen_geosphere(Mesh *mesh, float rad, int subdiv, bool hemi = false); + +#endif // MESHGEN_H_