vrheights
view src/object.h @ 8:3f221bdc9bab
mesh loading
walk polys
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 03 Oct 2014 04:16:16 +0300 |
parents | |
children |
line source
1 #ifndef OBJECT_H_
2 #define OBJECT_H_
4 #include <vmath/vmath.h>
5 #include "mesh.h"
6 #include "material.h"
8 class Object {
9 private:
10 Mesh *mesh;
12 public:
13 Material mtl;
14 Matrix4x4 xform;
16 Object();
18 void set_mesh(Mesh *m);
20 void draw() const;
21 };
23 #endif /* OBJECT_H_ */