mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-07-31 20:10:36 +02:00
fixed "only-cubic Bézier curves" problem
This commit is contained in:
@@ -35,17 +35,17 @@ function _bezier_curve_point(t, points) =
|
||||
[
|
||||
bezier_curve_coordinate(
|
||||
t,
|
||||
[points[0][0], points[1][0], points[2][0], points[3][0]],
|
||||
[for(p = points) p[0]],
|
||||
n
|
||||
),
|
||||
bezier_curve_coordinate(
|
||||
t,
|
||||
[points[0][1], points[1][1], points[2][1], points[3][1]],
|
||||
[for(p = points) p[1]],
|
||||
n
|
||||
),
|
||||
bezier_curve_coordinate(
|
||||
t,
|
||||
[points[0][2], points[1][2], points[2][2], points[3][2]],
|
||||
[for(p = points) p[2]],
|
||||
n
|
||||
)
|
||||
];
|
||||
|
Reference in New Issue
Block a user