3dpcp/include/show/vertexarray.h

35 lines
538 B
C
Raw Normal View History

2012-09-16 12:33:11 +00:00
/**
* @file
* @brief Representation of an OpenGL vertex array
* @author Andreas Nuechter. Institute of Computer Science, University of Osnabrueck, Germany.
*/
#ifndef __VERTEXARRAY_H__
#define __VERTEXARRAY_H__
#ifdef _MSC_VER
#include <windows.h>
#endif
#ifdef __APPLE__
#include <OpenGL/gl.h>
#else
#include <GL/gl.h>
#endif
class vertexArray
{
public:
vertexArray(int _numPointsToRender);
~vertexArray();
GLfloat* array;
GLint numPointsToRender;
GLuint name;
private:
static GLuint nameCounter;
};
#endif