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) * mat = up((v-0.5)*h) *
scale(sc) * scale(sc) *
zrot(twist*v) zrot(twist*v)
) apply(mat, tile_rows[texcnt.y-ti-1]) ) apply(mat, tile_rows[(texcnt.y-ti)%texcnt.y])
] ]
) vnf_vertex_array( ) vnf_vertex_array(
tiles, caps=false, style=style, tiles, caps=false, style=style,