Add data generating script

This commit is contained in:
Miloslav Ciz 2025-05-15 22:35:57 +02:00
parent 0e34b2c52c
commit 5a2f7df84c
5 changed files with 1126 additions and 496 deletions

View file

@ -366,7 +366,7 @@ void _LCR_pixelFunc3D(S3L_PixelInfo *pixel)
for (int i = 0; i < 6; ++i)
LCR_renderer.triUVs[i] = (LCR_carUvs[2 * LCR_carTriangleUvs[3 *
pixel->triangleIndex + i / 2] + i % 2] * (LCR_IMAGE_SIZE + 1)) / 512;
pixel->triangleIndex + i / 2] + i % 2] * (LCR_IMAGE_SIZE + i % 2)) / 512;
#if (LCR_SETTING_CAR_TINT & 0x7) != 0x07
for (int i = 0; i < 256; ++i)