window *Win = new window;
int winsize[2];
+ XInitThreads();
+
Win->layout[0] = xcubes;
Win->layout[1] = ycubes;
Win->aspect = (double)xcubes/ycubes;
Win->initialized = false;
- Win->linewidth = 1;
+ //Win->linewidth = 1;
Windows.push_back( pair<int,culooks::window*>(0, Win) );
Windows[mywid].second->cubes[icube].setWireColor(r, g, b, a);
}
-void culooks::setLineWidth(float width)
+void culooks::setFrameWidth(float width)
+{
+ for (int icube=0; icube<Windows[mywid].second->cubes.size(); icube++)
+ Windows[mywid].second->cubes[icube].setFrameWidth(width);
+}
+
+void culooks::setLinkWidth(float width)
{
- Windows[mywid].second->linewidth = width;
+ for (int icube=0; icube<Windows[mywid].second->cubes.size(); icube++)
+ Windows[mywid].second->cubes[icube].setLinkWidth(width);
}