Textures linear_sweep() bugfix.

This commit is contained in:
Revar Desmera 2023-08-03 20:13:48 -07:00
parent 7199c36c40
commit fa16916997

View File

@ -3642,7 +3642,7 @@ function _textured_linear_sweep(
mat = up((v-0.5)*h) *
scale(sc) *
zrot(twist*v)
) apply(mat, tile_rows[texcnt.y-ti-1])
) apply(mat, tile_rows[(texcnt.y-ti)%texcnt.y])
]
) vnf_vertex_array(
tiles, caps=false, style=style,