X-Git-Url: http://git.treefish.org/~alex/phys/latlib.git/blobdiff_plain/b8c3dcf5e075cc961b2693b1fcb8d1b8604e8f7c..2c7ea0058473eb98219ff87c64e28f31fac34b90:/cubelooks.h?ds=sidebyside diff --git a/cubelooks.h b/cubelooks.h deleted file mode 100644 index 4d75332..0000000 --- a/cubelooks.h +++ /dev/null @@ -1,55 +0,0 @@ -#ifndef CUBELOOKS_H -#define CUBELOOKS_H - -#include -#include -#include -#include -#include -#include -#include - - -using namespace std; - -class cubelooks -{ - public: - class cube { - public: - cube(int l); - void draw(); - int id; - float az, alt; - float zoom; - private: - void drawAll(); - void drawBox(); - static int allid; - float *plaq; - float *link; - int l; - }; - - struct env { - int *argc; - char **argv; - int layout[2]; - double aspect; - vector cubes; - int w, h; - GLXDrawable gDrawable; - Display *gDisplay; - GLXContext gContext; - }; - - cubelooks(const int& xcubes, const int& ycubes, const int& l, int *argc, char **argv); - - private: - pthread_t glThreadId; - static bool initDone; - static GLXDrawable gDrawable; - static Display *gDisplay; -}; - -#endif