goat3d
view src/object.h @ 6:0a49bdf1af6f
windows stuff
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Tue, 20 Aug 2013 05:38:38 +0300 |
parents | |
children | cd71f0b92f44 |
line source
1 #ifndef OBJECT_H_
2 #define OBJECT_H_
4 #include "node.h"
5 #include "mesh.h"
6 #include "material.h"
8 class Object : public Node {
9 private:
10 Material *material;
11 Mesh *mesh;
13 public:
14 Object();
16 void set_mesh(Mesh *mesh);
17 Mesh *get_mesh() const;
19 void set_material(Material *mtl);
20 Material *get_material() const;
21 };
23 #endif // OBJECT_H_