mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2024-12-29 16:29:40 +00:00
Fix inverted textures and reversed faces in _texured_linear_sweep()
This commit is contained in:
parent
4ff3d16605
commit
b816a3863f
1 changed files with 1 additions and 1 deletions
|
@ -3634,7 +3634,7 @@ function _textured_linear_sweep(
|
||||||
let(
|
let(
|
||||||
v = (i + (ti/texcnt.y)) / counts.y,
|
v = (i + (ti/texcnt.y)) / counts.y,
|
||||||
sc = lerp([1, 1, 1], scale, v),
|
sc = lerp([1, 1, 1], scale, v),
|
||||||
mat = up((v-0.5)*h) *
|
mat = down((v-0.5)*h) *
|
||||||
scale(sc) *
|
scale(sc) *
|
||||||
zrot(twist*v)
|
zrot(twist*v)
|
||||||
) apply(mat, tile_rows[ti])
|
) apply(mat, tile_rows[ti])
|
||||||
|
|
Loading…
Reference in a new issue