X-Git-Url: http://git.treefish.org/~alex/phys/latlib.git/blobdiff_plain/f9812559e766a409abfbd2d3bae519298339ab65..c92e802f596346087ee22a76868654f40a199f6e:/culooks.h?ds=inline diff --git a/culooks.h b/culooks.h index fe6ca11..34466c1 100644 --- a/culooks.h +++ b/culooks.h @@ -27,6 +27,8 @@ 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); + void setLineWidth(float width); private: @@ -34,6 +36,8 @@ class culooks int *argc; char **argv; }; + + static comarg comArg; class cube { public: @@ -41,6 +45,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 +55,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 +69,8 @@ class culooks int plaqbuf_active; int linkbuf_active; static int allid; + bool hideplaquettes; + bool hidelinks; }; struct window { @@ -74,6 +83,7 @@ class culooks string name; float bgcolor[4]; bool redisplay; + float linewidth; }; class drawing