nuclear@25: #ifndef MESHGEN_H_ nuclear@25: #define MESHGEN_H_ nuclear@25: nuclear@25: class Mesh; nuclear@25: nuclear@25: void gen_sphere(Mesh *mesh, float rad, int usub, int vsub, float urange = 1.0, float vrange = 1.0); nuclear@25: 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: 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: void gen_plane(Mesh *mesh, float width, float height, int usub = 1, int vsub = 1); nuclear@25: void gen_heightmap(Mesh *mesh, float width, float height, int usub, int vsub, float (*hf)(float, float, void*), void *hfdata = 0); nuclear@25: nuclear@25: #endif // MESHGEN_H_