Yet another iteration in the quest of a portable qt+antttweakbar example...
This commit is contained in:
parent
8e1176d803
commit
c22ebbf304
|
@ -98,6 +98,7 @@ GLWidget::GLWidget(QWidget *parent)
|
||||||
|
|
||||||
void GLWidget::initializeGL ()
|
void GLWidget::initializeGL ()
|
||||||
{
|
{
|
||||||
|
glewInit();
|
||||||
glClearColor(0, 0, 0, 0);
|
glClearColor(0, 0, 0, 0);
|
||||||
glEnable(GL_LIGHTING);
|
glEnable(GL_LIGHTING);
|
||||||
glEnable(GL_LIGHT0);
|
glEnable(GL_LIGHT0);
|
||||||
|
|
|
@ -46,8 +46,6 @@
|
||||||
#include <QKeyEvent>
|
#include <QKeyEvent>
|
||||||
|
|
||||||
/// vcg imports
|
/// vcg imports
|
||||||
#include <vcg/simplex/vertex/base.h>
|
|
||||||
#include <vcg/simplex/face/base.h>
|
|
||||||
#include <vcg/complex/complex.h>
|
#include <vcg/complex/complex.h>
|
||||||
#include <vcg/complex/algorithms/update/bounding.h>
|
#include <vcg/complex/algorithms/update/bounding.h>
|
||||||
#include <vcg/complex/algorithms/update/normal.h>
|
#include <vcg/complex/algorithms/update/normal.h>
|
||||||
|
|
Loading…
Reference in New Issue