3dphotoshoot

annotate src/meshgen.h @ 25:ac80210d5fbe

preparing a pc version for easier development of non-android-specifics
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 18 Jun 2015 03:12:30 +0300
parents
children
rev   line source
nuclear@25 1 #ifndef MESHGEN_H_
nuclear@25 2 #define MESHGEN_H_
nuclear@25 3
nuclear@25 4 class Mesh;
nuclear@25 5
nuclear@25 6 void gen_sphere(Mesh *mesh, float rad, int usub, int vsub, float urange = 1.0, float vrange = 1.0);
nuclear@25 7 void gen_cylinder(Mesh *mesh, float rad, float height, int usub, int vsub, int capsub = 0, float urange = 1.0, float vrange = 1.0);
nuclear@25 8 void gen_cone(Mesh *mesh, float rad, float height, int usub, int vsub, int capsub = 0, float urange = 1.0, float vrange = 1.0);
nuclear@25 9 void gen_plane(Mesh *mesh, float width, float height, int usub = 1, int vsub = 1);
nuclear@25 10 void gen_heightmap(Mesh *mesh, float width, float height, int usub, int vsub, float (*hf)(float, float, void*), void *hfdata = 0);
nuclear@25 11
nuclear@25 12 #endif // MESHGEN_H_