Don't do function literals in examples. We can't render them yet.

This commit is contained in:
Garth Minette 2021-01-01 01:26:36 -08:00
parent 9633608341
commit 6b77a3a199
2 changed files with 3 additions and 3 deletions

View File

@ -1720,10 +1720,10 @@ module arced_slot(
// ]);
// cylinder(h=50,d=100);
// }
// Example: Heightfield by Function
// Example(NORENDER): Heightfield by Function
// fn = function (x,y) 10*sin(x*360)*cos(y*360);
// heightfield(size=[100,100], data=fn);
// Example: Heightfield by Function, with Specific Ranges
// Example(NORENDER): Heightfield by Function, with Specific Ranges
// fn = function (x,y) 2*cos(5*norm([x,y]));
// heightfield(size=[100,100], bottom=-20, data=fn, xrange=[-180:2:180], yrange=[-180:2:180]);
module heightfield(data, size=[100,100], xrange=[-1:0.04:1], yrange=[-1:0.04:1], bottom=-20, maxz=100, style="default", convexity=10, anchor=CENTER, spin=0, orient=UP)

View File

@ -8,7 +8,7 @@
//////////////////////////////////////////////////////////////////////
BOSL_VERSION = [2,0,503];
BOSL_VERSION = [2,0,504];
// Section: BOSL Library Version Functions