X-Git-Url: http://git.treefish.org/~alex/phys/latlib.git/blobdiff_plain/e48bdb3989c1abbf1d6b3124502299cecae0bdb6..79dada2bcf873731ed4e78cfed64d8274fb5c587:/cubelooks.h?ds=inline diff --git a/cubelooks.h b/cubelooks.h index 6ee63f8..6a404a7 100644 --- a/cubelooks.h +++ b/cubelooks.h @@ -11,11 +11,18 @@ 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 { @@ -27,11 +34,11 @@ class cubelooks 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