mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-21 14:04:53 +02:00
fix idx error
This commit is contained in:
@@ -6,7 +6,7 @@ function _vx_bezier_pt(p1, p2, p3, p4, pts) =
|
|||||||
b1 = (a1 + a2) * 0.5,
|
b1 = (a1 + a2) * 0.5,
|
||||||
b2 = (a2 + a3) * 0.5,
|
b2 = (a2 + a3) * 0.5,
|
||||||
c = (b1 + b2) * 0.5,
|
c = (b1 + b2) * 0.5,
|
||||||
p = [round(c[0]), round(c[1]), round(c[0])]
|
p = [round(c[0]), round(c[1]), round(c[2])]
|
||||||
)
|
)
|
||||||
_vx_bezier(c, b2, a3, p4, _vx_bezier(p1, a1, b1, c, concat(pts, [p])));
|
_vx_bezier(c, b2, a3, p4, _vx_bezier(p1, a1, b1, c, concat(pts, [p])));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user