vrheights

view src/object.h @ 13:0168104ec568

- added new files to the vs project - fixed bug caused by LibOVR's failure to restore OpenGL state
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 04 Oct 2014 03:41:59 +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_ */