coeng
diff src/co_mesh.h @ 8:8cce82794f90
seems to work nicely
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 15 Feb 2015 05:14:20 +0200 |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/co_mesh.h Sun Feb 15 05:14:20 2015 +0200 1.3 @@ -0,0 +1,20 @@ 1.4 +#ifndef CO_MESH_H_ 1.5 +#define CO_MESH_H_ 1.6 + 1.7 +#include "comp.h" 1.8 +#include "mesh.h" 1.9 +#include "gobj.h" 1.10 + 1.11 +class CoMesh : public Component { 1.12 +public: 1.13 + Mesh *mesh; 1.14 + 1.15 + CoMesh(); 1.16 + ~CoMesh(); 1.17 + 1.18 + void draw() const; 1.19 +}; 1.20 + 1.21 +CoMesh *gobj_co_mesh(const GObject *obj, bool nofail = true); 1.22 + 1.23 +#endif // CO_MESH_H_