diff --git a/src/util/lerp.scad b/src/util/lerp.scad index e7a930f8..d5442dc0 100644 --- a/src/util/lerp.scad +++ b/src/util/lerp.scad @@ -8,4 +8,4 @@ * **/ -function lerp(v1, v2, amt) = let(v = v2 - v1) v1 + v * amt; \ No newline at end of file +function lerp(v1, v2, amt) = v1 + (v2 - v1) * amt; \ No newline at end of file