2021-01-05 12:18:27 +01:00
|
|
|
SVECTOR modelCube_mesh[] = {
|
2021-06-26 19:21:40 +02:00
|
|
|
{ -128,128,128 },
|
|
|
|
{ 128,128,128 },
|
|
|
|
{ 128,128,-128 },
|
|
|
|
{ -128,128,-128 },
|
|
|
|
{ -128,-128,128 },
|
|
|
|
{ 128,-128,128 },
|
|
|
|
{ 128,-128,-128 },
|
|
|
|
{ -128,-128,-128 }
|
2021-01-05 12:18:27 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
SVECTOR modelCube_normal[] = {
|
2021-06-26 19:21:40 +02:00
|
|
|
2365,-2365,-2365, 0,
|
|
|
|
-2365,-2365,-2365, 0,
|
|
|
|
-2365,-2365,2365, 0,
|
|
|
|
2365,-2365,2365, 0,
|
|
|
|
2365,2365,-2365, 0,
|
|
|
|
-2365,2365,-2365, 0,
|
|
|
|
-2365,2365,2365, 0,
|
|
|
|
2365,2365,2365, 0
|
2021-01-05 12:18:27 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
CVECTOR modelCube_color[] = {
|
2021-06-26 19:21:40 +02:00
|
|
|
255,237,0, 0,
|
|
|
|
255,235,0, 0,
|
|
|
|
255,236,0, 0,
|
|
|
|
255,2,0, 0,
|
|
|
|
254,3,0, 0,
|
|
|
|
255,8,0, 0,
|
|
|
|
229,0,255, 0,
|
|
|
|
229,0,255, 0,
|
|
|
|
229,0,255, 0,
|
|
|
|
5,16,250, 0,
|
|
|
|
0,12,255, 0,
|
|
|
|
0,12,255, 0,
|
|
|
|
4,251,25, 0,
|
|
|
|
0,255,26, 0,
|
|
|
|
0,255,26, 0,
|
|
|
|
0,248,255, 0,
|
|
|
|
0,248,255, 0,
|
|
|
|
0,248,255, 0,
|
|
|
|
255,237,0, 0,
|
|
|
|
255,237,0, 0,
|
|
|
|
255,235,0, 0,
|
|
|
|
255,2,0, 0,
|
|
|
|
255,6,2, 0,
|
|
|
|
254,3,0, 0,
|
|
|
|
229,0,255, 0,
|
|
|
|
232,21,232, 0,
|
|
|
|
229,0,255, 0,
|
|
|
|
5,16,250, 0,
|
|
|
|
2,13,253, 0,
|
|
|
|
0,12,255, 0,
|
|
|
|
4,251,25, 0,
|
|
|
|
0,255,26, 0,
|
|
|
|
0,255,26, 0,
|
|
|
|
0,248,255, 0,
|
|
|
|
0,248,255, 0,
|
|
|
|
0,248,255, 0
|
2021-01-05 12:18:27 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
int modelCube_index[] = {
|
2021-06-26 19:21:40 +02:00
|
|
|
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
|
2021-01-05 12:18:27 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
TMESH modelCube = {
|
2021-06-26 19:21:40 +02:00
|
|
|
modelCube_mesh,
|
|
|
|
modelCube_normal,
|
|
|
|
0,
|
|
|
|
modelCube_color,
|
|
|
|
12
|
|
|
|
};
|
|
|
|
|
|
|
|
SVECTOR modelCube1_mesh[] = {
|
|
|
|
{ -128,128,128 },
|
|
|
|
{ 128,128,128 },
|
|
|
|
{ 128,128,-128 },
|
|
|
|
{ -128,128,-128 },
|
|
|
|
{ -128,-128,128 },
|
|
|
|
{ 128,-128,128 },
|
|
|
|
{ 128,-128,-128 },
|
|
|
|
{ -128,-128,-128 }
|
|
|
|
};
|
|
|
|
|
|
|
|
SVECTOR modelCube1_normal[] = {
|
|
|
|
2365,-2365,-2365, 0,
|
|
|
|
-2365,-2365,-2365, 0,
|
|
|
|
-2365,-2365,2365, 0,
|
|
|
|
2365,-2365,2365, 0,
|
|
|
|
2365,2365,-2365, 0,
|
|
|
|
-2365,2365,-2365, 0,
|
|
|
|
-2365,2365,2365, 0,
|
|
|
|
2365,2365,2365, 0
|
|
|
|
};
|
|
|
|
|
|
|
|
CVECTOR modelCube1_color[] = {
|
|
|
|
255,237,0, 0,
|
|
|
|
255,235,0, 0,
|
|
|
|
255,236,0, 0,
|
|
|
|
255,2,0, 0,
|
|
|
|
254,3,0, 0,
|
|
|
|
255,8,0, 0,
|
|
|
|
229,0,255, 0,
|
|
|
|
229,0,255, 0,
|
|
|
|
229,0,255, 0,
|
|
|
|
5,16,250, 0,
|
|
|
|
0,12,255, 0,
|
|
|
|
0,12,255, 0,
|
|
|
|
4,251,25, 0,
|
|
|
|
0,255,26, 0,
|
|
|
|
0,255,26, 0,
|
|
|
|
0,248,255, 0,
|
|
|
|
0,248,255, 0,
|
|
|
|
0,248,255, 0,
|
|
|
|
255,237,0, 0,
|
|
|
|
255,237,0, 0,
|
|
|
|
255,235,0, 0,
|
|
|
|
255,2,0, 0,
|
|
|
|
255,6,2, 0,
|
|
|
|
254,3,0, 0,
|
|
|
|
229,0,255, 0,
|
|
|
|
232,21,232, 0,
|
|
|
|
229,0,255, 0,
|
|
|
|
5,16,250, 0,
|
|
|
|
2,13,253, 0,
|
|
|
|
0,12,255, 0,
|
|
|
|
4,251,25, 0,
|
|
|
|
0,255,26, 0,
|
|
|
|
0,255,26, 0,
|
|
|
|
0,248,255, 0,
|
|
|
|
0,248,255, 0,
|
|
|
|
0,248,255, 0
|
|
|
|
};
|
|
|
|
|
|
|
|
int modelCube1_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 modelCube1 = {
|
|
|
|
modelCube1_mesh,
|
|
|
|
modelCube1_normal,
|
|
|
|
0,
|
|
|
|
modelCube1_color,
|
|
|
|
12
|
2021-01-05 12:18:27 +01:00
|
|
|
};
|