diff options
author | Marius Kintel <marius@kintel.net> | 2011-12-29 14:39:00 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2011-12-29 14:39:00 (GMT) |
commit | 3de792d3ed2702c9b24222f89497523ec83d590d (patch) | |
tree | 3d93f2cc28d12d702cc695d3e7dd797275567ede /RELEASE_NOTES | |
parent | 621515a5233a171fc76af8f1ed85011eb8c4f611 (diff) |
color override
Diffstat (limited to 'RELEASE_NOTES')
-rw-r--r-- | RELEASE_NOTES | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/RELEASE_NOTES b/RELEASE_NOTES index b9648d2..a954c45 100644 --- a/RELEASE_NOTES +++ b/RELEASE_NOTES @@ -13,6 +13,7 @@ o New import() statement reads the correct file format based on the filename ext (.stl, .dxf and .off is supported) o The color() statement now supports an alpha parameter, e.g. color(c=[1,0,0], alpha=0.4) o The color() statement now supports specifying colors as strings, e.g. color("Red") +o The color() statement now overrides colors specified further down in the tree o if()/else() and the ternary operator can now take any value type as parameter. false, 0, empty string and empty vector or illegal value type will evaluate as false, everything else as true. o Strings can now be lexographically compared using the <, <=, >, >= operators o Added PI constant. |