mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-05 06:17:32 +02:00
refactored
This commit is contained in:
@@ -51,7 +51,9 @@ function _bezier_curve_point(t, points) =
|
|||||||
];
|
];
|
||||||
|
|
||||||
function bezier_curve(t_step, points) =
|
function bezier_curve(t_step, points) =
|
||||||
concat([
|
let(
|
||||||
for(t = [0: t_step: 1])
|
pts = concat([
|
||||||
_bezier_curve_point(t, points)
|
for(t = [0: t_step: 1])
|
||||||
], [_bezier_curve_point(1, points)]);
|
_bezier_curve_point(t, points)
|
||||||
|
], [_bezier_curve_point(1, points)])
|
||||||
|
) pts;
|
Reference in New Issue
Block a user