1 #ifndef DRAWABLEOBJECT_H 2 #define DRAWABLEOBJECT_H 33 virtual void draw(QMatrix4x4 projection, QMatrix4x4 transformation) = 0;
36 #endif // DRAWABLEOBJECT_H virtual ~AbstractDrawableGLObject()
Definition: abstractdrawableglobject.h:15
virtual void initializeGL()=0
Called when this object is to be used with a new OpenGL context. Must be called before the first draw...
Abstract class for objects with special OpenGL rendering.
Definition: abstractdrawableglobject.h:13
virtual void draw(QMatrix4x4 projection, QMatrix4x4 transformation)=0
Performs OpenGL calls to draw the object, assuming a context is bound.