From b816a3863f361817ebfefdb9dc24babe19f3aa80 Mon Sep 17 00:00:00 2001 From: Revar Desmera Date: Tue, 27 Jun 2023 20:12:13 -0700 Subject: [PATCH] Fix inverted textures and reversed faces in _texured_linear_sweep() --- skin.scad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skin.scad b/skin.scad index 08d2a54..32a63e7 100644 --- a/skin.scad +++ b/skin.scad @@ -3634,7 +3634,7 @@ function _textured_linear_sweep( let( v = (i + (ti/texcnt.y)) / counts.y, sc = lerp([1, 1, 1], scale, v), - mat = up((v-0.5)*h) * + mat = down((v-0.5)*h) * scale(sc) * zrot(twist*v) ) apply(mat, tile_rows[ti])