Add shadow
This commit is contained in:
parent
5e73098460
commit
4eb589d981
5 changed files with 101 additions and 10 deletions
17
assets.h
17
assets.h
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue