diff --git a/skin.scad b/skin.scad index 78b5a29..96b88d6 100644 --- a/skin.scad +++ b/skin.scad @@ -3489,8 +3489,8 @@ function _textured_linear_sweep( if (i != counts.y || ti == 0) let( v = (i + (ti/texcnt.y)) / counts.y, - sc = lerp(scale, [1,1,1], v), - mat = down((v-0.5)*h) * + sc = lerp([1, 1, 1], scale, v), + mat = up((v-0.5)*h) * scale(sc) * zrot(twist*v) ) apply(mat, tile_rows[ti])