Files
LLeMbas-TTY/term/src
Wez Furlong 23ebcf324d term: revise image geometry calculation
The texture coordinates into the source image weren't quite right;
previously we'd do this math:

num_cells = (image_size / cell_size).ceil()
delta = num_cells / image_size

that would result in the image being stretched to fit across the rounded
up number of cells, leading to a distored image.

This commit changes the delta calculation to be based on the remaining
number of pixels in a given dimension relative to the cell size.

refs: #1300
refs: #1270
2021-12-11 10:51:13 -07:00
..
2021-09-22 08:34:40 -07:00
2021-11-25 09:00:45 -07:00
2020-06-13 10:04:20 -07:00