Add shadow

This commit is contained in:
Miloslav Ciz 2025-04-28 23:00:23 +02:00
parent 5e73098460
commit 4eb589d981
5 changed files with 101 additions and 10 deletions

View file

@ -7083,6 +7083,23 @@ uint16_t LCR_getNextImagePixel(void)
return r;
}
#if LCR_SETTING_CAR_SHADOW
#define LCR_SHADOW_VERTEX_COUNT 4
#define LCR_SHADOW_TRIANGLE_COUNT 2
static const int32_t LCR_shadowVertices[] =
{
-130,16,-175, 130,16,-175, -130,16, 155, 130,16, 155
};
static const uint16_t LCR_shadowTriangles[] =
{
0,1,2,2,1,3
};
#endif
#define LCR_CAR_VERTEX_COUNT 124
#define LCR_CAR_TRIANGLE_COUNT 228