absence_thelab

annotate 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
rev   line source
nuclear@0 1 #ifndef _OBJECTGEN_H_
nuclear@0 2 #define _OBJECTGEN_H_
nuclear@0 3
nuclear@0 4 #include "3dgeom.h"
nuclear@0 5
nuclear@0 6 namespace ObjGen {
nuclear@0 7 void CreatePlane(GraphicsContext *gc, float size, dword subdivisions, TriMesh **mesh, byte LODLevels = 0);
nuclear@0 8 void CreateCube(GraphicsContext *gc, float size, TriMesh **mesh, byte LODLevels = 0);
nuclear@0 9 void CreateCylinder(float radius, float height, int sides, int hsegs, TriMesh **mesh, byte LODLevels = 0);
nuclear@0 10 void CreateSphere(float radius, float segments, bool caps, TriMesh **mesh, byte LODLevels = 0);
nuclear@0 11 }
nuclear@0 12
nuclear@0 13 #endif // _OBJECTGEN_H_