X-Git-Url: http://git.treefish.org/~alex/phys/latlib.git/blobdiff_plain/3a8bc55b2fdece524393351af7996d743931c5b3..0e276c2770688b3cc7676ee84c8e35246621f6df:/cubelooks.h diff --git a/cubelooks.h b/cubelooks.h new file mode 100644 index 0000000..6e8faff --- /dev/null +++ b/cubelooks.h @@ -0,0 +1,35 @@ +#ifndef CUBELOOKS_H +#define CUBELOOKS_H + +#include +#include + +using namespace std; + +class cubelooks +{ + public: + class cube { + public: + cube(); + void draw(); + int id; + private: + static int allid; + }; + + struct env { + int *argc; + char **argv; + int layout[2]; + vector cubes; + }; + + cubelooks(const int& xcubes, const int& ycubes, int *argc, char **argv); + + private: + pthread_t glThreadId; + env Env; +}; + +#endif