You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
538 B
C++

/**
* @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