Changeset 8792:12de79754f56 in orange


Ignore:
Timestamp:
08/26/11 10:24:30 (3 years ago)
Author:
matejd <matejd@…>
Branch:
default
Convert:
61b3b937c9ef4d94384fffc4f122b7ac5a9fb54d
Message:

Enabled anti-aliasing in plot3d

Location:
source/orangeqt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • source/orangeqt/plot3d.cpp

    r8785 r8792  
     1#include "plot3d.h" 
    12#include <iostream> 
    2 #include <assert.h> 
    3 #include "plot3d.h" 
     3#include <QGLFormat> 
     4#include <GL/glx.h> 
     5#include <GL/glxext.h> // TODO: Windows? 
     6#include <GL/glext.h> 
    47 
    58PFNGLGENBUFFERSARBPROC glGenBuffers = NULL; 
     
    1316#define BUFFER_OFFSET(i) ((char *)NULL + (i)) 
    1417 
    15 Plot3D::Plot3D(QWidget* parent) 
     18Plot3D::Plot3D(QWidget* parent) : QGLWidget(QGLFormat(QGL::SampleBuffers), parent) 
    1619{ 
    1720    vbo_generated = false; 
  • source/orangeqt/plot3d.h

    r8785 r8792  
    55#include <QVector3D> 
    66#include <GL/gl.h> 
    7 #include <GL/glx.h> 
    8 #include <GL/glxext.h> // TODO: Windows? 
    9 #include <GL/glext.h> 
    107 
    118class Plot3D : public QGLWidget { 
Note: See TracChangeset for help on using the changeset viewer.