// // Created by janco on 6/22/16. // #ifndef OPENGLINDIVIDUEEL_OBJECT_H #define OPENGLINDIVIDUEEL_OBJECT_H #include #include #include "Vector.h" class Object { public: void draw(); void update(float elapsedTime) {}; void quad(int a,int b,int c,int d); Vec3f position; Vec3f rotation; float scale; std::string text; float ver[8][3] = { {-1.0,-1.0,1.0}, {-1.0,1.0,1.0}, {1.0,1.0,1.0}, {1.0,-1.0,1.0}, {-1.0,-1.0,-1.0}, {-1.0,1.0,-1.0}, {1.0,1.0,-1.0}, {1.0,-1.0,-1.0}, }; GLfloat color[8][3] = { {0.0,0.0,0.0}, {1.0,0.0,0.0}, {1.0,1.0,0.0}, {0.0,1.0,0.0}, {0.0,0.0,1.0}, {1.0,0.0,1.0}, {1.0,1.0,1.0}, {0.0,1.0,1.0}, }; }; #endif //OPENGLINDIVIDUEEL_OBJECT_H