#ifndef __OBJGEN_H
#define __OBJGEN_H

#define CUBERAD				10

void	genEsher (Model &m, int SCALING_FACTOR1, int SCALING_FACTOR2, float RADIUS1, float RADIUS2, float RADIUS3);
void	genCube (Model &m);
void    genSphere(Model &m, float r, int xrow, int yrow, bool semisphere);
void	genTerrain (Model &m, int vsize, char *data, float texfreq);
void    genCone(Model &mo,int n, float height, float r_top, float r_bot);
void    loadModel(Model &mo, unsigned char *data, int nvertices, int ntriangles);


#endif