vrheights

view src/object.h @ 14:25cab9e20c9c

mesh vbos
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 09 Oct 2014 01:29:28 +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_ */