vrheights

view src/object.h @ 16:7f6d68d95c22

updated to new version of goatvr
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 30 Oct 2015 06:34:31 +0200
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_ */