1 #ifndef openglobject_HEADER_GUARD
2 #define openglobject_HEADER_GUARD
54 virtual void draw() = 0;
68 void setCoordinates(
float left,
float right,
float top,
float bottom);
A generic object that's drawn on top of the bitmaps.
Definition: openglobject.h:42
GLuint VAO
id of the vertex array object
Definition: openglobject.h:49
GLuint VBO
id of the vertex buffer object
Definition: openglobject.h:50
bool is_set
have coordinates been given?
Definition: openglobject.h:51
A rectangle that's drawn on top of the video bitmap.
Definition: openglobject.h:60
std::array< GLfloat, 12 > vertices
data of the vertex buffer object
Definition: openglobject.h:71
List of common header files.