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