]> git.treefish.org Git - phys/latlib.git/blobdiff - cubelooks.h
...
[phys/latlib.git] / cubelooks.h
diff --git a/cubelooks.h b/cubelooks.h
deleted file mode 100644 (file)
index 4d75332..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-#ifndef CUBELOOKS_H
-#define CUBELOOKS_H
-
-#include <pthread.h>
-#include <vector>
-#include <GL/glut.h>
-#include <GL/glx.h>
-#include <GL/gl.h>
-#include <X11/Xlib.h>
-#include <X11/Xutil.h>
-
-
-using namespace std;
-
-class cubelooks
-{
- public:
-  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;
-  };
-
-  struct env {
-    int *argc;
-    char **argv;
-    int layout[2];
-    double aspect;
-    vector<cube> cubes;
-    int w, h;
-    GLXDrawable gDrawable;
-    Display *gDisplay;
-    GLXContext gContext;
-  };
-
-  cubelooks(const int& xcubes, const int& ycubes, const int& l, int *argc, char **argv);
-
- private:
-  pthread_t glThreadId;
-  static bool initDone;
-  static GLXDrawable gDrawable;
-  static Display *gDisplay;
-};
-
-#endif