]> git.treefish.org Git - phys/latlib.git/blobdiff - culooks.h
...
[phys/latlib.git] / culooks.h
index fe6ca11df6520cf0d5552eddd83d16c2baf92ca6..3e47fde760efebd481615916b40a51a79408749e 100644 (file)
--- a/culooks.h
+++ b/culooks.h
@@ -27,6 +27,7 @@ class culooks
   void hideLinks(const int& cubeid);
   void hideLinks();
   void setBgColor(const float& red, const float& green, const float& blue, const float& alpha);
   void hideLinks(const int& cubeid);
   void hideLinks();
   void setBgColor(const float& red, const float& green, const float& blue, const float& alpha);
+  void setWireColor(const float& r, const float& g, const float& b, const float& a);
 
  private:
 
 
  private:
 
@@ -34,6 +35,8 @@ class culooks
     int *argc;
     char **argv;
   };
     int *argc;
     char **argv;
   };
+
+  static comarg comArg;
   
   class cube {
   public:
   
   class cube {
   public:
@@ -41,6 +44,7 @@ class culooks
     void draw();
     int id;
     float az, alt;
     void draw();
     int id;
     float az, alt;
+    float azRotSpeed;
     float zoom;
     void setLink (const int& posdir, 
                  const float& red, const float& green, const float& blue, const float& alpha);
     float zoom;
     void setLink (const int& posdir, 
                  const float& red, const float& green, const float& blue, const float& alpha);
@@ -50,7 +54,9 @@ class culooks
     void swapPlaqBuffer();
     void hidePlaqs();
     void hideLinks();
     void swapPlaqBuffer();
     void hidePlaqs();
     void hideLinks();
+    void setWireColor(const float& r, const float& g, const float& b, const float& a);
   private:
   private:
+    float wireColor[4];
     void drawAll();
     void drawBox();
     static void drawFrame();
     void drawAll();
     void drawBox();
     static void drawFrame();
@@ -62,6 +68,8 @@ class culooks
     int plaqbuf_active;
     int linkbuf_active;
     static int allid;
     int plaqbuf_active;
     int linkbuf_active;
     static int allid;
+    bool hideplaquettes;
+    bool hidelinks;
   };
   
   struct window {
   };
   
   struct window {