Started porting GLUT example to Qt.
This commit is contained in:
19
examples/OpenGL/OpenGLWidget.h
Normal file
19
examples/OpenGL/OpenGLWidget.h
Normal 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__
|
Reference in New Issue
Block a user