mirror of https://github.com/vitalif/openscad
Merge branch 'master' into buildfix
commit
1679a57240
|
@ -105,7 +105,7 @@ void GLView::init()
|
|||
void GLView::setRenderer(Renderer *r)
|
||||
{
|
||||
this->renderer = r;
|
||||
updateGL();
|
||||
if (r) updateGL(); // Let the last image stay, e.g. to avoid animation flickering
|
||||
}
|
||||
|
||||
void GLView::initializeGL()
|
||||
|
|
|
@ -13,3 +13,4 @@ translate([12,0,0]) color([0,0,1],0.5) object();
|
|||
translate([24,0,0]) color(c="Green",alpha=0.2) object();
|
||||
translate([-12,12,0]) color() object();
|
||||
translate([-12,0,0]) color(alpha=0.5) object();
|
||||
translate([24,-12,0]) color([1,0,0]) color([0,0,1]) object();
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 9.3 KiB After Width: | Height: | Size: 8.2 KiB |
|
@ -52,4 +52,13 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
multmatrix([[1, 0, 0, 24], [0, 1, 0, -12], [0, 0, 1, 0], [0, 0, 0, 1]]) {
|
||||
color([1, 0, 0, 1]) {
|
||||
color([0, 0, 1, 1]) {
|
||||
group() {
|
||||
cube(size = [10, 10, 10], center = false);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue