1
0
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:
Justin Lin
2020-12-04 15:37:44 +08:00
parent d2065f5410
commit e359c24350

View File

@@ -6,7 +6,7 @@ function _vx_bezier_pt(p1, p2, p3, p4, pts) =
b1 = (a1 + a2) * 0.5,
b2 = (a2 + a3) * 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])));