From 81d501212e933dac9b42787c27a876266e226446 Mon Sep 17 00:00:00 2001 From: kniight <77161668+kniight@users.noreply.github.com> Date: Fri, 8 Jan 2021 16:22:39 +0100 Subject: [PATCH] Update _catmull_rom_spline.scad The path is changed perhaps due to some restructuring of the source. bezier_curve.scad is in the parent directory relative to this file. --- src/_impl/_catmull_rom_spline.scad | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/_impl/_catmull_rom_spline.scad b/src/_impl/_catmull_rom_spline.scad index d208a258..9b11b154 100644 --- a/src/_impl/_catmull_rom_spline.scad +++ b/src/_impl/_catmull_rom_spline.scad @@ -1,4 +1,4 @@ -use ; +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]]); \ No newline at end of file + bezier_curve(t_step, [points[1], p1x, p2x, points[2]]);