12345678910111213141516171819202122232425262728293031323334 |
- #ifndef RENDERWIDGET_H
- #define RENDERWIDGET_H
-
- #include <QGLWidget>
- #include "ugameengine.h"
-
- class RenderWidget : public QGLWidget
- {
- Q_OBJECT
- public:
- explicit RenderWidget(QWidget *parent = 0);
-
- protected:
- void initializeGL();
- void paintGL();
- void resizeGL(int width, int height);
-
- signals:
-
- public slots:
- void animate();
-
- void drawAxes();
-
- private:
- int angle;
-
- float _fov;
-
- QSharedPointer<UGameEngine> _engine;
-
- };
-
- #endif // RENDERWIDGET_H
|