mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-13 21:54:31 +02:00
Fixed error in smooth_path() example formatting.
This commit is contained in:
@@ -435,8 +435,7 @@ function _rounding_offsets(edgespec,z_dir=1) =
|
|||||||
// Example(2D): A more interesting shape:
|
// Example(2D): A more interesting shape:
|
||||||
// path = [[0,0], [4,0], [7,14], [-3,12]];
|
// path = [[0,0], [4,0], [7,14], [-3,12]];
|
||||||
// polygon(smooth_path(path,closed=true));
|
// polygon(smooth_path(path,closed=true));
|
||||||
// Example(2D): Scaling the tangent data using the curvature parameter k can decrease or increase the amount of smoothing. Note this is the same
|
// Example(2D): Scaling the tangent data using the curvature parameter k can decrease or increase the amount of smoothing. Note this is the same as just multiplying the deriv(square(4)) by k.
|
||||||
// as just multiplying the deriv(square(4)) by k.
|
|
||||||
// polygon(smooth_path(square(4), k=0.5,closed=true));
|
// polygon(smooth_path(square(4), k=0.5,closed=true));
|
||||||
// Example(2D): Or you can specify your own tangent values to alter the shape of the curve
|
// Example(2D): Or you can specify your own tangent values to alter the shape of the curve
|
||||||
// polygon(smooth_path(square(4),tangents=1.25*[[-2,-1], [-2,1], [1,2], [2,-1]],closed=true));
|
// polygon(smooth_path(square(4),tangents=1.25*[[-2,-1], [-2,1], [1,2], [2,-1]],closed=true));
|
||||||
|
@@ -8,7 +8,7 @@
|
|||||||
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
|
||||||
BOSL_VERSION = [2,0,165];
|
BOSL_VERSION = [2,0,166];
|
||||||
|
|
||||||
|
|
||||||
// Section: BOSL Library Version Functions
|
// Section: BOSL Library Version Functions
|
||||||
|
Reference in New Issue
Block a user