Started splitting example framework into to two classes. One will be general purpose (for use in Cubiquity, etc), and the other will have PolyVox specific stuff.

This commit is contained in:
David Williams
2015-02-20 16:20:09 +01:00
parent 9c93c5fc36
commit 838407ba4f
12 changed files with 64 additions and 15 deletions

View File

@ -31,7 +31,7 @@ freely, subject to the following restrictions:
#include "Shapes.h"
#include "OpenGLWidget.h"
#include "PolyVoxExample.h"
#ifdef WIN32
#include <windows.h> // Standard Header For Most Programs
@ -47,11 +47,11 @@ using namespace std;
const int32_t g_uVolumeSideLength = 128;
class OpenGLExample : public OpenGLWidget
class OpenGLExample : public PolyVoxExample
{
public:
OpenGLExample(QWidget *parent)
:OpenGLWidget(parent)
:PolyVoxExample(parent)
{
}