mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-17 20:11:50 +02:00
format
This commit is contained in:
@@ -15,9 +15,7 @@ function curve(t_step, points, tightness = 0) =
|
|||||||
[
|
[
|
||||||
each [
|
each [
|
||||||
for(i = [0:leng - 4])
|
for(i = [0:leng - 4])
|
||||||
let(
|
let(pts = _catmull_rom_spline_4pts(t_step, [for(j = [i:i + 3]) points[j]], tightness))
|
||||||
pts = _catmull_rom_spline_4pts(t_step, [for(j = [i:i + 3]) points[j]], tightness)
|
|
||||||
)
|
|
||||||
for(i = [0:len(pts) - 2]) pts[i]
|
for(i = [0:len(pts) - 2]) pts[i]
|
||||||
],
|
],
|
||||||
points[leng - 2]
|
points[leng - 2]
|
||||||
|
Reference in New Issue
Block a user