absence_thelab

diff 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 diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/3deng/objectgen.h	Thu Oct 23 01:46:07 2014 +0300
     1.3 @@ -0,0 +1,13 @@
     1.4 +#ifndef _OBJECTGEN_H_
     1.5 +#define _OBJECTGEN_H_
     1.6 +
     1.7 +#include "3dgeom.h"
     1.8 +
     1.9 +namespace ObjGen {
    1.10 +	void CreatePlane(GraphicsContext *gc, float size, dword subdivisions, TriMesh **mesh, byte LODLevels = 0);
    1.11 +	void CreateCube(GraphicsContext *gc, float size, TriMesh **mesh, byte LODLevels = 0);
    1.12 +	void CreateCylinder(float radius, float height, int sides, int hsegs, TriMesh **mesh, byte LODLevels = 0);
    1.13 +	void CreateSphere(float radius, float segments, bool caps, TriMesh **mesh, byte LODLevels = 0);
    1.14 +}
    1.15 +
    1.16 +#endif	// _OBJECTGEN_H_
    1.17 \ No newline at end of file