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 setFrameWidth(float width);
+ void setLinkWidth(float width);
private:
int *argc;
char **argv;
};
+
+ static comarg comArg;
class cube {
public:
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);
void swapPlaqBuffer();
void hidePlaqs();
void hideLinks();
+ void setWireColor(const float& r, const float& g, const float& b, const float& a);
+ void setFrameWidth(float width);
+ void setLinkWidth(float width);
private:
+ float wireColor[4];
void drawAll();
void drawBox();
static void drawFrame();
int plaqbuf_active;
int linkbuf_active;
static int allid;
+ bool hideplaquettes;
+ bool hidelinks;
+ float framewidth;
+ float linkwidth;
};
struct window {