1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-13 18:24:28 +02:00
This commit is contained in:
Justin Lin
2021-06-01 15:49:47 +08:00
parent 9f4ede7e29
commit 009230c8f8

View File

@@ -25,7 +25,7 @@ function _bspline_curve_nvi(v, i, l, t, degree, knots) =
let(
alpha = _bspline_curve_alpha(i, l, t, degree, knots)
)
[[for(j = 0; j< 4; j = j + 1) ((1 - alpha) * v[i - 1][j] + alpha * v[i][j])]];
[[for(j = 0; j< degree + 1; j = j + 1) ((1 - alpha) * v[i - 1][j] + alpha * v[i][j])]];
function _bspline_curve_nvl(v, l, s, t, degree, knots, i) =
i == (s - degree - 1 + l) ? v :