Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

orxonox/branches/importer: importer includes into the source

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