X-Git-Url: http://git.treefish.org/~alex/phys/latlib.git/blobdiff_plain/0e276c2770688b3cc7676ee84c8e35246621f6df..79dada2bcf873731ed4e78cfed64d8274fb5c587:/cubelooks.h?ds=inline diff --git a/cubelooks.h b/cubelooks.h index 6e8faff..6a404a7 100644 --- a/cubelooks.h +++ b/cubelooks.h @@ -11,25 +11,34 @@ class cubelooks public: class cube { public: - cube(); + 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; }; - cubelooks(const int& xcubes, const int& ycubes, int *argc, char **argv); + cubelooks(const int& xcubes, const int& ycubes, const int& l, int *argc, char **argv); private: pthread_t glThreadId; - env Env; + env _Env; }; #endif