Work on new OpenGL example - Splitting into several files.

This commit is contained in:
David Williams
2009-03-18 21:10:51 +00:00
parent a50bb8413e
commit bd5acdb4cd
8 changed files with 229 additions and 190 deletions

View File

@ -0,0 +1,17 @@
#ifndef __OpenGLExample_OpenGLVertexBufferObjectSupport_H__
#define __OpenGLExample_OpenGLVertexBufferObjectSupport_H__
#include "PolyVoxCore/PolyVoxForwardDeclarations.h"
#include "glew/glew.h"
struct OpenGLSurfacePatch
{
GLulong noOfIndices;
GLuint indexBuffer;
GLuint vertexBuffer;
};
OpenGLSurfacePatch BuildOpenGLSurfacePatch(PolyVox::IndexedSurfacePatch& isp);
#endif //__OpenGLExample_OpenGLVertexBufferObjectSupport_H__