3dobj-renderer/opglwidget.h

15 lines
275 B
C
Raw Normal View History

2023-05-02 13:02:56 +05:00
#include <QtWidgets/QOpenGLWidget>
class OPGLWidget : public QOpenGLWidget
{
public:
OPGLWidget(QWidget *parent) : QOpenGLWidget(parent) {}
2023-05-02 14:16:05 +05:00
protected:
void paintGL();
void initializeGL();
void resizeGL(int w, int h);
void reorient();
float loc[3] = {-10, 0, -10};
2023-05-02 13:02:56 +05:00
};