runtime: CMake-ify

This commit is contained in:
Michael Fabian 'Xaymar' Dirks
2019-01-18 15:55:06 +01:00
parent 717609a900
commit 24788185aa
184 changed files with 2957 additions and 2527 deletions
+30
View File
@@ -0,0 +1,30 @@
#ifndef MESHUTIL_H
#define MESHUTIL_H
#include "meshmodel.hpp"
struct MeshUtil{
static MeshModel *createCube( const Brush &b );
static MeshModel *createSphere( const Brush &b,int segs );
static MeshModel *createCylinder( const Brush &b,int segs,bool solid );
static MeshModel *createCone( const Brush &b,int segs,bool solid );
static void lightMesh( MeshModel *m,const Vector &pos,const Vector &rgb,float range );
/*
static void flipMesh( Mesh *m );
static void fitMesh( Mesh *m,const Box &b );
static void paintMesh( Mesh *m,const Brush &b );
static void transformMesh( Mesh *m,const Transform &t );
static void lightMesh( Mesh *m,const Vector &pos,const Vector &rgb,float range );
static void lightMapMesh( Mesh *m,const Mesh &l );
static Mesh createCube( const Brush &b,int segs );
static Mesh createSphere( const Brush &b,int segs );
static Mesh createCylinder( const Brush &b,int segs );
*/
};
#endif