goat3d

diff src/object.h @ 0:2918358f5e6d

initial commit
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 17 Aug 2013 16:10:26 +0300
parents
children cd71f0b92f44
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/object.h	Sat Aug 17 16:10:26 2013 +0300
     1.3 @@ -0,0 +1,23 @@
     1.4 +#ifndef OBJECT_H_
     1.5 +#define OBJECT_H_
     1.6 +
     1.7 +#include "node.h"
     1.8 +#include "mesh.h"
     1.9 +#include "material.h"
    1.10 +
    1.11 +class Object : public Node {
    1.12 +private:
    1.13 +	Material *material;
    1.14 +	Mesh *mesh;
    1.15 +
    1.16 +public:
    1.17 +	Object();
    1.18 +
    1.19 +	void set_mesh(Mesh *mesh);
    1.20 +	Mesh *get_mesh() const;
    1.21 +
    1.22 +	void set_material(Material *mtl);
    1.23 +	Material *get_material() const;
    1.24 +};
    1.25 +
    1.26 +#endif	// OBJECT_H_