mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-06 14:56:47 +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(
|
bezier_curve_coordinate(
|
||||||
t,
|
t,
|
||||||
[points[0][0], points[1][0], points[2][0], points[3][0]],
|
[for(p = points) p[0]],
|
||||||
n
|
n
|
||||||
),
|
),
|
||||||
bezier_curve_coordinate(
|
bezier_curve_coordinate(
|
||||||
t,
|
t,
|
||||||
[points[0][1], points[1][1], points[2][1], points[3][1]],
|
[for(p = points) p[1]],
|
||||||
n
|
n
|
||||||
),
|
),
|
||||||
bezier_curve_coordinate(
|
bezier_curve_coordinate(
|
||||||
t,
|
t,
|
||||||
[points[0][2], points[1][2], points[2][2], points[3][2]],
|
[for(p = points) p[2]],
|
||||||
n
|
n
|
||||||
)
|
)
|
||||||
];
|
];
|
||||||
|
Reference in New Issue
Block a user