mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-01-19 07:08:04 +01:00
Merge pull request #15 from kniight/patch-1
Update _catmull_rom_spline.scad
This commit is contained in:
commit
825a7b3474
@ -1,4 +1,4 @@
|
||||
use <bezier_curve.scad>;
|
||||
use <../bezier_curve.scad>;
|
||||
|
||||
function _catmull_rom_spline_4pts(t_step, points, tightness) =
|
||||
let(
|
||||
@ -9,4 +9,4 @@ function _catmull_rom_spline_4pts(t_step, points, tightness) =
|
||||
v_p2x = points[2] - p2x_0tightness,
|
||||
p2x = p2x_0tightness + v_p2x * tightness
|
||||
)
|
||||
bezier_curve(t_step, [points[1], p1x, p2x, points[2]]);
|
||||
bezier_curve(t_step, [points[1], p1x, p2x, points[2]]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user