X-Git-Url: http://git.treefish.org/~alex/phys/latlib.git/blobdiff_plain/f9812559e766a409abfbd2d3bae519298339ab65..870fa143f6a703e4f4432097ce8332ab3f15e4ad:/culooks.h diff --git a/culooks.h b/culooks.h index fe6ca11..3e47fde 100644 --- 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 setWireColor(const float& r, const float& g, const float& b, const float& a); private: @@ -34,6 +35,8 @@ class culooks int *argc; char **argv; }; + + static comarg comArg; class cube { public: @@ -41,6 +44,7 @@ class culooks 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); @@ -50,7 +54,9 @@ class culooks void swapPlaqBuffer(); void hidePlaqs(); void hideLinks(); + void setWireColor(const float& r, const float& g, const float& b, const float& a); private: + float wireColor[4]; void drawAll(); void drawBox(); static void drawFrame(); @@ -62,6 +68,8 @@ class culooks int plaqbuf_active; int linkbuf_active; static int allid; + bool hideplaquettes; + bool hidelinks; }; struct window {