absence_thelab
view src/3deng/objectgen.h @ 0:1cffe3409164
initial commit
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Thu, 23 Oct 2014 01:46:07 +0300 |
parents | |
children |
line source
1 #ifndef _OBJECTGEN_H_
2 #define _OBJECTGEN_H_
4 #include "3dgeom.h"
6 namespace ObjGen {
7 void CreatePlane(GraphicsContext *gc, float size, dword subdivisions, TriMesh **mesh, byte LODLevels = 0);
8 void CreateCube(GraphicsContext *gc, float size, TriMesh **mesh, byte LODLevels = 0);
9 void CreateCylinder(float radius, float height, int sides, int hsegs, TriMesh **mesh, byte LODLevels = 0);
10 void CreateSphere(float radius, float segments, bool caps, TriMesh **mesh, byte LODLevels = 0);
11 }
13 #endif // _OBJECTGEN_H_