eqemu

view src/object.h @ 3:f9274bebe55e

adding 3d graphics stuff
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 17 Jul 2014 02:35:19 +0300
parents
children 3d3656360a82
line source
1 #ifndef OBJECT_H_
2 #define OBJECT_H_
4 #include "mesh.h"
5 #include "material.h"
7 class Object {
8 private:
9 Mesh *mesh;
11 public:
12 Material mtl;
14 Object();
16 void set_mesh(Mesh *mesh);
17 Mesh *get_mesh() const;
19 void render() const;
20 };
22 #endif // OBJECT_H_