123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
- #define CAR_VERTEX_COUNT 38
- const S3L_Unit carVertices[CAR_VERTEX_COUNT * 3] = {
- -706, -352, -686,
- -706, -48, -990,
- -706, 255, -686,
- -706, -48, -382,
- -282, -48, -390,
- -282, -344, -686,
- -282, -48, -981,
- -282, 246, -686,
- 705, -352, -686,
- 705, -48, -382,
- 705, 255, -686,
- 705, -48, -990,
- 281, -48, -981,
- 281, -344, -686,
- 281, -48, -390,
- 281, 246, -686,
- -706, -352, 695,
- -706, -48, 391,
- -706, 255, 695,
- -706, -48, 999,
- -282, -48, 990,
- -282, -344, 695,
- -282, -48, 399,
- -282, 246, 695,
- 705, -352, 695,
- 705, -48, 999,
- 705, -48, 391,
- 703, 251, 688,
- 281, 245, 690,
- 281, -48, 399,
- 281, -344, 695,
- 281, -48, 990,
- -234, 656, -288,
- -219, -36, -834,
- 225, -36, -834,
- 241, 656, -288,
- 232, 28, 840,
- -225, 28, 840
- };
- #define CAR_TRIANGLE_COUNT 56
- const S3L_Index carTriangleIndices[CAR_TRIANGLE_COUNT * 3] = {
- 18, 16, 17,
- 28, 30, 29,
- 11, 9, 10,
- 34, 32, 33,
- 11, 13, 8,
- 5, 7, 6,
- 23, 19, 18,
- 33, 36, 34,
- 29, 27, 28,
- 25, 30, 31,
- 15, 13, 12,
- 6, 0, 5,
- 18, 22, 23,
- 20, 22, 21,
- 9, 13, 14,
- 0, 4, 5,
- 15, 11, 10,
- 34, 36, 35,
- 15, 9, 14,
- 37, 33, 32,
- 31, 27, 25,
- 1, 3, 0,
- 36, 32, 35,
- 7, 3, 2,
- 29, 24, 26,
- 16, 22, 17,
- 1, 7, 2,
- 27, 24, 25,
- 20, 16, 19,
- 18, 19, 16,
- 28, 31, 30,
- 11, 8, 9,
- 34, 35, 32,
- 11, 12, 13,
- 5, 4, 7,
- 23, 20, 19,
- 33, 37, 36,
- 29, 26, 27,
- 25, 24, 30,
- 15, 14, 13,
- 6, 1, 0,
- 18, 17, 22,
- 20, 23, 22,
- 9, 8, 13,
- 0, 3, 4,
- 15, 12, 11,
- 15, 10, 9,
- 31, 28, 27,
- 1, 2, 3,
- 36, 37, 32,
- 7, 4, 3,
- 29, 30, 24,
- 16, 21, 22,
- 1, 6, 7,
- 27, 26, 24,
- 20, 21, 16
- };
- S3L_Model3D carModel;
- void carModelInit(void)
- {
- S3L_model3DInit(
- carVertices,
- CAR_VERTEX_COUNT,
- carTriangleIndices,
- CAR_TRIANGLE_COUNT,
- &carModel);
- }
|