2021-07-10 15:48:45 +02:00
|
|
|
SVECTOR modelCube_mesh[] = {
|
2021-07-25 17:49:46 +02:00
|
|
|
{32,32,-32.0},
|
|
|
|
{32,-32,-32},
|
|
|
|
{-32,-32,-32},
|
|
|
|
{-32,32,-32},
|
|
|
|
{32,32,32},
|
|
|
|
{32,-32,32},
|
|
|
|
{-32,-32,32},
|
|
|
|
{-32,32,32}
|
2021-07-10 15:48:45 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
SVECTOR modelCube_normal[] = {
|
2021-07-25 17:49:46 +02:00
|
|
|
0,-0,-1,0,
|
|
|
|
0,0,1,0,
|
|
|
|
1,0,-2,0,
|
|
|
|
-9,-1,-3,0,
|
|
|
|
-1,2,-1,0,
|
|
|
|
3,1,2,0,
|
|
|
|
0,0,-1,0,
|
|
|
|
0,-0,1,0,
|
|
|
|
1,-6,3,0,
|
|
|
|
-5,-1,9,0,
|
|
|
|
-1,2,-1,0,
|
|
|
|
2,1,2,0
|
2021-07-10 15:48:45 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
SVECTOR modelCube_uv[] = {
|
2021-07-25 17:49:46 +02:00
|
|
|
84,84, 0, 0,
|
|
|
|
125,42, 0, 0,
|
|
|
|
84,42, 0, 0,
|
|
|
|
125,84, 0, 0,
|
|
|
|
84,125, 0, 0,
|
|
|
|
125,125, 0, 0,
|
|
|
|
1,84, 0, 0,
|
|
|
|
42,125, 0, 0,
|
|
|
|
42,84, 0, 0,
|
|
|
|
42,125, 0, 0,
|
|
|
|
84,84, 0, 0,
|
|
|
|
42,84, 0, 0,
|
|
|
|
42,1, 0, 0,
|
|
|
|
1,42, 0, 0,
|
|
|
|
42,42, 0, 0,
|
|
|
|
42,84, 0, 0,
|
|
|
|
1,42, 0, 0,
|
|
|
|
1,84, 0, 0,
|
|
|
|
84,84, 0, 0,
|
|
|
|
125,84, 0, 0,
|
|
|
|
125,42, 0, 0,
|
|
|
|
125,84, 0, 0,
|
|
|
|
84,84, 0, 0,
|
|
|
|
84,125, 0, 0,
|
|
|
|
1,84, 0, 0,
|
|
|
|
1,125, 0, 0,
|
|
|
|
42,125, 0, 0,
|
|
|
|
42,125, 0, 0,
|
|
|
|
84,125, 0, 0,
|
|
|
|
84,84, 0, 0,
|
|
|
|
42,1, 0, 0,
|
|
|
|
1,1, 0, 0,
|
|
|
|
1,42, 0, 0,
|
|
|
|
42,84, 0, 0,
|
|
|
|
42,42, 0, 0,
|
|
|
|
1,42, 0, 0
|
2021-07-10 15:48:45 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
CVECTOR modelCube_color[] = {
|
|
|
|
255,255,255, 0,
|
|
|
|
255,255,255, 0,
|
|
|
|
255,0,251, 0,
|
|
|
|
255,255,255, 0,
|
|
|
|
255,5,7, 0,
|
|
|
|
255,255,255, 0,
|
|
|
|
255,255,255, 0,
|
|
|
|
255,255,255, 0,
|
|
|
|
4,18,255, 0,
|
|
|
|
255,5,7, 0,
|
|
|
|
255,255,255, 0,
|
|
|
|
255,255,255, 0,
|
|
|
|
254,255,23, 0,
|
|
|
|
122,255,107, 0,
|
|
|
|
255,255,255, 0,
|
|
|
|
255,255,255, 0,
|
|
|
|
255,255,255, 0,
|
|
|
|
254,255,94, 0,
|
|
|
|
255,255,255, 0,
|
|
|
|
35,255,11, 0,
|
|
|
|
255,255,255, 0,
|
|
|
|
255,255,255, 0,
|
|
|
|
255,255,255, 0,
|
|
|
|
255,5,7, 0,
|
|
|
|
255,255,255, 0,
|
|
|
|
255,5,7, 0,
|
|
|
|
255,255,255, 0,
|
|
|
|
255,5,7, 0,
|
|
|
|
255,255,255, 0,
|
|
|
|
255,255,255, 0,
|
|
|
|
254,255,23, 0,
|
|
|
|
255,255,255, 0,
|
|
|
|
122,255,107, 0,
|
|
|
|
255,255,255, 0,
|
|
|
|
54,65,255, 0,
|
|
|
|
255,255,255, 0
|
|
|
|
};
|
|
|
|
|
|
|
|
int modelCube_index[] = {
|
|
|
|
0,2,3,
|
|
|
|
7,5,4,
|
|
|
|
4,1,0,
|
|
|
|
5,2,1,
|
|
|
|
2,7,3,
|
|
|
|
0,7,4,
|
|
|
|
0,1,2,
|
|
|
|
7,6,5,
|
|
|
|
4,5,1,
|
|
|
|
5,6,2,
|
|
|
|
2,6,7,
|
|
|
|
0,3,7
|
|
|
|
};
|
|
|
|
|
|
|
|
TMESH modelCube = {
|
|
|
|
modelCube_mesh,
|
|
|
|
modelCube_normal,
|
|
|
|
modelCube_uv,
|
|
|
|
modelCube_color,
|
|
|
|
12
|
|
|
|
};
|
|
|
|
|
|
|
|
extern unsigned long _binary____TIM_cubetex_tim_start[];
|
|
|
|
extern unsigned long _binary____TIM_cubetex_tim_end[];
|
|
|
|
extern unsigned long _binary____TIM_cubetex_tim_length;
|
|
|
|
|
|
|
|
TIM_IMAGE tim_cube;
|