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