]> git.treefish.org Git - phys/latlib.git/blobdiff - cubelooks.h
...
[phys/latlib.git] / cubelooks.h
index 6ee63f89662da4422fd6547ed1add731f02fe8a8..6a404a7284635fb258676d7508221c556229c774 100644 (file)
@@ -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