mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-06 13:26:34 +02:00
fix example
This commit is contained in:
@@ -457,7 +457,8 @@ function bezpath_points(bezpath, curveind, u, N=3) =
|
|||||||
// [60,25], [70,0], [80,-25],
|
// [60,25], [70,0], [80,-25],
|
||||||
// [80,-50], [50,-50]
|
// [80,-50], [50,-50]
|
||||||
// ];
|
// ];
|
||||||
// debug_bezier(bez, N=3, width=2);
|
// path = bezpath_curve(bez);
|
||||||
|
// stroke(path,dots=true,dots_color="red");
|
||||||
function bezpath_curve(bezpath, splinesteps=16, N=3, endpoint=true) =
|
function bezpath_curve(bezpath, splinesteps=16, N=3, endpoint=true) =
|
||||||
assert(is_path(bezpath))
|
assert(is_path(bezpath))
|
||||||
assert(is_int(N))
|
assert(is_int(N))
|
||||||
|
Reference in New Issue
Block a user