1
0
mirror of https://github.com/nophead/NopSCADlib.git synced 2025-03-14 19:59:45 +01:00

Revoved strailing comma in let() in splines.scad.

This commit is contained in:
Chris 2024-05-08 00:22:19 +01:00
parent 00c19b08f1
commit 870b396574

View File

@ -92,7 +92,7 @@ function catmull_rom_segment(P0, P1, P2, P3, n, alpha = 0.5, last = false) = let
A3 = (t3 - t) / (t3 - t2) * P2 + (t - t2) / (t3 - t2) * P3,
B1 = (t2 - t) / (t2 - t0) * A1 + (t - t0) / (t2 - t0) * A2,
B2 = (t3 - t) / (t3 - t1) * A2 + (t - t1) / (t3 - t1) * A3
) (t2 - t) / (t2 - t1) * B1 + (t - t1) / (t2 - t1) * B2],
) (t2 - t) / (t2 - t1) * B1 + (t - t1) / (t2 - t1) * B2]
) points;