Started porting GLUT example to Qt.

This commit is contained in:
David Williams
2009-03-26 23:03:49 +00:00
parent 50b3ff407e
commit fc7cf98347
4 changed files with 66 additions and 5 deletions

View File

@ -0,0 +1,19 @@
#ifndef __PolyVox_OpenGLWidget_H__
#define __PolyVox_OpenGLWidget_H__
#include <QGLWidget>
class OpenGLWidget : public QGLWidget
{
public:
OpenGLWidget(QWidget *parent);
protected:
void initializeGL();
void resizeGL(int w, int h);
void paintGL();
};
#endif //__PolyVox_OpenGLWidget_H__