00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00018
00019
00020
#ifndef _GLDRAWABLE_H
00021
#define _GLDRAWABLE_H
00022
00023
00025
#include <qgl.h>
00026
00027
00028
00030
00031
00032
00034
00035
00036
00044 class GLDrawable {
00045
00046
public:
00047
00049
GLDrawable();
00050
00052
virtual ~GLDrawable();
00053
00054
00063
virtual void draw() = 0;
00064
00065
00066
protected:
00067
00068
private:
00069
00070 };
00071
00072
#endif // _GLDRAWABLE_H