Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/branches/importer/src/array.h @ 2795

Last change on this file since 2795 was 2795, checked in by bensch, 20 years ago

orxonox/branches/importer: importer includes into the source

File size: 541 bytes
RevLine 
[2776]1#ifndef _ARRAY_H
2#define _ARRAY_H
3
[2773]4#include <GL/gl.h>
5#include <GL/glu.h>
6#include <fstream.h>
[2754]7class Array
8{
9 public:
10  Array ();
[2758]11  Array (unsigned int arraySize);
[2754]12
[2758]13  void createArray (unsigned int newArraySize);
14  void resizeArray (unsigned int newSize);
[2754]15  void finalizeArray (void);
16  void addEntry (GLfloat entry);
17  void addEntry(GLfloat entry0, GLfloat entry1, GLfloat entry2);
18 
19  GLfloat* getArray ();
[2760]20  int getCount();
[2758]21  void debug(void);
[2754]22 private:
23  GLfloat* array;
[2758]24  unsigned int arraySize;
25  unsigned int entryCount;
[2754]26
27};
[2776]28
29#endif
Note: See TracBrowser for help on using the repository browser.