]> git.treefish.org Git - phys/latlib.git/blobdiff - culooks.h
...
[phys/latlib.git] / culooks.h
index 32e36a814872ca585ec9f7ad7ecec9de6889dc76..1705ab57ddefbffb9f70233ba3aeb41b2d0fcc75 100644 (file)
--- a/culooks.h
+++ b/culooks.h
 #include <X11/Xutil.h>
 #include <string>
 
 #include <X11/Xutil.h>
 #include <string>
 
-#include "culooks_cube.h"
-
 using namespace std;
 
 class culooks
 {
 using namespace std;
 
 class culooks
 {
+ private:
+  class cube {
+  public:
+    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;
+  };
+
  public:
   struct window {
     int layout[2];
  public:
   struct window {
     int layout[2];
@@ -41,7 +56,6 @@ class culooks
   static pthread_t glThreadId;
   static int windowid;
   int mywid;
   static pthread_t glThreadId;
   static int windowid;
   int mywid;
-  
 };
 
 #endif
 };
 
 #endif