616 lines
20 KiB
C

const vec3 mesh_Cylinder_position[] = {
{0.000000, 1.000000, -1.000000},
{0.000000, 1.000000, 1.000000},
{0.195090, 0.980785, -1.000000},
{0.195090, 0.980785, 1.000000},
{0.382683, 0.923880, -1.000000},
{0.382683, 0.923880, 1.000000},
{0.555570, 0.831470, -1.000000},
{0.555570, 0.831470, 1.000000},
{0.707107, 0.707107, -1.000000},
{0.707107, 0.707107, 1.000000},
{0.831470, 0.555570, -1.000000},
{0.831470, 0.555570, 1.000000},
{0.923880, 0.382683, -1.000000},
{0.923880, 0.382683, 1.000000},
{0.980785, 0.195090, -1.000000},
{0.980785, 0.195090, 1.000000},
{1.000000, 0.000000, -1.000000},
{1.000000, 0.000000, 1.000000},
{0.980785, -0.195090, -1.000000},
{0.980785, -0.195090, 1.000000},
{0.923880, -0.382683, -1.000000},
{0.923880, -0.382683, 1.000000},
{0.831470, -0.555570, -1.000000},
{0.831470, -0.555570, 1.000000},
{0.707107, -0.707107, -1.000000},
{0.707107, -0.707107, 1.000000},
{0.555570, -0.831470, -1.000000},
{0.555570, -0.831470, 1.000000},
{0.382683, -0.923880, -1.000000},
{0.382683, -0.923880, 1.000000},
{0.195090, -0.980785, -1.000000},
{0.195090, -0.980785, 1.000000},
{0.000000, -1.000000, -1.000000},
{0.000000, -1.000000, 1.000000},
{-0.195090, -0.980785, -1.000000},
{-0.195090, -0.980785, 1.000000},
{-0.382683, -0.923880, -1.000000},
{-0.382683, -0.923880, 1.000000},
{-0.555570, -0.831470, -1.000000},
{-0.555570, -0.831470, 1.000000},
{-0.707107, -0.707107, -1.000000},
{-0.707107, -0.707107, 1.000000},
{-0.831470, -0.555570, -1.000000},
{-0.831470, -0.555570, 1.000000},
{-0.923880, -0.382683, -1.000000},
{-0.923880, -0.382683, 1.000000},
{-0.980785, -0.195090, -1.000000},
{-0.980785, -0.195090, 1.000000},
{-1.000000, 0.000000, -1.000000},
{-1.000000, 0.000000, 1.000000},
{-0.980785, 0.195090, -1.000000},
{-0.980785, 0.195090, 1.000000},
{-0.923880, 0.382683, -1.000000},
{-0.923880, 0.382683, 1.000000},
{-0.831470, 0.555570, -1.000000},
{-0.831470, 0.555570, 1.000000},
{-0.707107, 0.707107, -1.000000},
{-0.707107, 0.707107, 1.000000},
{-0.555570, 0.831470, -1.000000},
{-0.555570, 0.831470, 1.000000},
{-0.382683, 0.923880, -1.000000},
{-0.382683, 0.923880, 1.000000},
{-0.195090, 0.980785, -1.000000},
{-0.195090, 0.980785, 1.000000},
{-0.411373, 0.615663, 1.000000},
{-0.283359, 0.684088, 1.000000},
{-0.144455, 0.726224, 1.000000},
{-0.726224, -0.144455, 1.000000},
{-0.615663, -0.411373, 1.000000},
{-0.684088, -0.283359, 1.000000},
{0.144455, -0.726224, 1.000000},
{0.411373, -0.615663, 1.000000},
{0.283359, -0.684088, 1.000000},
{0.615663, 0.411373, 1.000000},
{0.726224, 0.144455, 1.000000},
{0.684088, 0.283359, 1.000000},
{-0.740452, 0.000000, 1.000000},
{-0.726224, 0.144455, 1.000000},
{-0.615663, 0.411373, 1.000000},
{-0.684088, 0.283359, 1.000000},
{-0.523579, 0.523579, 1.000000},
{-0.411373, -0.615663, 1.000000},
{0.000000, 0.740452, 1.000000},
{0.283359, 0.684088, 1.000000},
{0.144455, 0.726224, 1.000000},
{-0.523579, -0.523579, 1.000000},
{-0.283359, -0.684088, 1.000000},
{-0.144455, -0.726224, 1.000000},
{0.000000, -0.740452, 1.000000},
{0.411373, 0.615663, 1.000000},
{0.615663, -0.411373, 1.000000},
{0.523579, 0.523579, 1.000000},
{0.726224, -0.144455, 1.000000},
{0.740452, 0.000000, 1.000000},
{0.684088, -0.283359, 1.000000},
{0.523579, -0.523579, 1.000000},
{0.283359, 0.684088, -1.000000},
{0.523579, 0.523579, -1.000000},
{0.411373, 0.615663, -1.000000},
{0.523579, -0.523579, -1.000000},
{0.615663, -0.411373, -1.000000},
{0.684088, -0.283359, -1.000000},
{-0.523579, -0.523579, -1.000000},
{-0.411373, -0.615663, -1.000000},
{-0.283359, -0.684088, -1.000000},
{-0.684088, 0.283359, -1.000000},
{-0.523579, 0.523579, -1.000000},
{-0.615663, 0.411373, -1.000000},
{-0.144455, 0.726224, -1.000000},
{0.000000, 0.740452, -1.000000},
{0.144455, 0.726224, -1.000000},
{0.283359, -0.684088, -1.000000},
{0.684088, 0.283359, -1.000000},
{0.615663, 0.411373, -1.000000},
{0.740452, 0.000000, -1.000000},
{0.726224, -0.144455, -1.000000},
{0.726224, 0.144455, -1.000000},
{0.411373, -0.615663, -1.000000},
{-0.740452, 0.000000, -1.000000},
{-0.726224, -0.144455, -1.000000},
{-0.726224, 0.144455, -1.000000},
{-0.615663, -0.411373, -1.000000},
{-0.684088, -0.283359, -1.000000},
{-0.283359, 0.684088, -1.000000},
{-0.411373, 0.615663, -1.000000},
{0.144455, -0.726224, -1.000000},
{-0.144455, -0.726224, -1.000000},
{0.000000, -0.740452, -1.000000},
};
const vec2 mesh_Cylinder_UVMap_uvmap[] = {
};
const vec3 mesh_Cylinder_normal[] = {
{0.000000, 0.727878, -0.685707},
{0.000000, 0.727878, 0.685707},
{0.142002, 0.713892, -0.685707},
{0.142002, 0.713892, 0.685707},
{0.278547, 0.672471, -0.685707},
{0.278547, 0.672471, 0.685707},
{0.404387, 0.605208, -0.685707},
{0.404387, 0.605208, 0.685707},
{0.514687, 0.514687, -0.685707},
{0.514687, 0.514687, 0.685707},
{0.605208, 0.404387, -0.685707},
{0.605208, 0.404387, 0.685707},
{0.672471, 0.278547, -0.685707},
{0.672471, 0.278547, 0.685707},
{0.713892, 0.142002, -0.685707},
{0.713892, 0.142002, 0.685707},
{0.727878, 0.000000, -0.685707},
{0.727878, 0.000000, 0.685707},
{0.713892, -0.142002, -0.685707},
{0.713892, -0.142002, 0.685707},
{0.672471, -0.278547, -0.685707},
{0.672471, -0.278547, 0.685707},
{0.605208, -0.404387, -0.685707},
{0.605208, -0.404387, 0.685707},
{0.514687, -0.514687, -0.685707},
{0.514687, -0.514687, 0.685707},
{0.404387, -0.605208, -0.685707},
{0.404387, -0.605208, 0.685707},
{0.278547, -0.672471, -0.685707},
{0.278547, -0.672471, 0.685707},
{0.142002, -0.713892, -0.685707},
{0.142002, -0.713892, 0.685707},
{0.000000, -0.727878, -0.685707},
{0.000000, -0.727878, 0.685707},
{-0.142002, -0.713892, -0.685707},
{-0.142002, -0.713892, 0.685707},
{-0.278547, -0.672471, -0.685707},
{-0.278547, -0.672471, 0.685707},
{-0.404387, -0.605208, -0.685707},
{-0.404387, -0.605208, 0.685707},
{-0.514687, -0.514687, -0.685707},
{-0.514687, -0.514687, 0.685707},
{-0.605208, -0.404387, -0.685707},
{-0.605208, -0.404387, 0.685707},
{-0.672471, -0.278547, -0.685707},
{-0.672471, -0.278547, 0.685707},
{-0.713892, -0.142002, -0.685707},
{-0.713892, -0.142002, 0.685707},
{-0.727878, 0.000000, -0.685707},
{-0.727878, 0.000000, 0.685707},
{-0.713892, 0.142002, -0.685707},
{-0.713892, 0.142002, 0.685707},
{-0.672471, 0.278547, -0.685707},
{-0.672471, 0.278547, 0.685707},
{-0.605208, 0.404387, -0.685707},
{-0.605208, 0.404387, 0.685707},
{-0.514687, 0.514687, -0.685707},
{-0.514687, 0.514687, 0.685707},
{-0.404387, 0.605208, -0.685707},
{-0.404387, 0.605208, 0.685707},
{-0.278547, 0.672471, -0.685707},
{-0.278547, 0.672471, 0.685707},
{-0.142002, 0.713892, -0.685707},
{-0.142002, 0.713892, 0.685707},
{0.379798, -0.568408, 0.729840},
{0.261609, -0.631581, 0.729840},
{0.133367, -0.670483, 0.729840},
{0.670483, 0.133367, 0.729840},
{0.568408, 0.379798, 0.729840},
{0.631581, 0.261609, 0.729840},
{-0.133367, 0.670483, 0.729840},
{-0.379798, 0.568408, 0.729840},
{-0.261609, 0.631581, 0.729840},
{-0.568408, -0.379798, 0.729840},
{-0.670483, -0.133367, 0.729840},
{-0.631581, -0.261609, 0.729840},
{0.683618, 0.000000, 0.729840},
{0.670483, -0.133367, 0.729840},
{0.568408, -0.379798, 0.729840},
{0.631581, -0.261609, 0.729840},
{0.483391, -0.483391, 0.729840},
{0.379798, 0.568408, 0.729840},
{0.000000, -0.683618, 0.729840},
{-0.261609, -0.631581, 0.729840},
{-0.133367, -0.670483, 0.729840},
{0.483391, 0.483391, 0.729840},
{0.261609, 0.631581, 0.729840},
{0.133367, 0.670483, 0.729840},
{0.000000, 0.683618, 0.729840},
{-0.379798, -0.568408, 0.729840},
{-0.568408, 0.379798, 0.729840},
{-0.483391, -0.483391, 0.729840},
{-0.670483, 0.133367, 0.729840},
{-0.683618, 0.000000, 0.729840},
{-0.631581, 0.261609, 0.729840},
{-0.483391, 0.483391, 0.729840},
{-0.261609, -0.631581, -0.729840},
{-0.483391, -0.483391, -0.729840},
{-0.379798, -0.568408, -0.729840},
{-0.483391, 0.483391, -0.729840},
{-0.568408, 0.379798, -0.729840},
{-0.631581, 0.261609, -0.729840},
{0.483391, 0.483391, -0.729840},
{0.379798, 0.568408, -0.729840},
{0.261609, 0.631581, -0.729840},
{0.631581, -0.261609, -0.729840},
{0.483391, -0.483391, -0.729840},
{0.568408, -0.379798, -0.729840},
{0.133367, -0.670483, -0.729840},
{0.000000, -0.683618, -0.729840},
{-0.133367, -0.670483, -0.729840},
{-0.261609, 0.631581, -0.729840},
{-0.631581, -0.261609, -0.729840},
{-0.568408, -0.379798, -0.729840},
{-0.683618, 0.000000, -0.729840},
{-0.670483, 0.133367, -0.729840},
{-0.670483, -0.133367, -0.729840},
{-0.379798, 0.568408, -0.729840},
{0.683618, 0.000000, -0.729840},
{0.670483, 0.133367, -0.729840},
{0.670483, -0.133367, -0.729840},
{0.568408, 0.379798, -0.729840},
{0.631581, 0.261609, -0.729840},
{0.261609, -0.631581, -0.729840},
{0.379798, -0.568408, -0.729840},
{-0.133367, 0.670483, -0.729840},
{0.133367, 0.670483, -0.729840},
{0.000000, 0.683618, -0.729840},
};
const vec3 mesh_Cylinder_polygon_normal[] = {
{0.098017, 0.995185, 0.000000},
{0.290285, 0.956940, 0.000000},
{0.471397, 0.881921, 0.000000},
{0.634393, 0.773010, 0.000000},
{0.773010, 0.634393, 0.000000},
{0.881921, 0.471397, 0.000000},
{0.956940, 0.290285, 0.000000},
{0.995185, 0.098017, 0.000000},
{0.995185, -0.098017, 0.000000},
{0.956940, -0.290285, 0.000000},
{0.881921, -0.471397, 0.000000},
{0.773010, -0.634393, 0.000000},
{0.634393, -0.773010, 0.000000},
{0.471397, -0.881921, 0.000000},
{0.290285, -0.956940, 0.000000},
{0.098017, -0.995185, 0.000000},
{-0.098017, -0.995185, 0.000000},
{-0.290285, -0.956940, 0.000000},
{-0.471397, -0.881921, 0.000000},
{-0.634393, -0.773010, 0.000000},
{-0.773010, -0.634393, 0.000000},
{-0.881921, -0.471397, 0.000000},
{-0.956940, -0.290285, 0.000000},
{-0.995185, -0.098017, 0.000000},
{-0.995185, 0.098017, 0.000000},
{-0.956940, 0.290285, 0.000000},
{-0.881921, 0.471397, 0.000000},
{-0.773010, 0.634393, 0.000000},
{-0.634393, 0.773010, 0.000000},
{-0.471397, 0.881921, 0.000000},
{0.000000, 0.000000, -1.000000},
{0.000000, 0.000000, -1.000000},
{-0.290285, 0.956940, 0.000000},
{-0.098017, 0.995185, 0.000000},
{-0.098017, -0.995185, 0.000000},
{-0.290285, -0.956940, 0.000000},
{-0.471397, -0.881921, 0.000000},
{-0.634393, -0.773010, 0.000000},
{-0.773010, -0.634393, 0.000000},
{-0.881921, -0.471397, 0.000000},
{-0.956940, -0.290285, 0.000000},
{-0.995185, -0.098017, 0.000000},
{-0.995185, 0.098017, 0.000000},
{-0.956940, 0.290285, 0.000000},
{-0.881921, 0.471397, 0.000000},
{-0.773010, 0.634393, 0.000000},
{-0.634393, 0.773010, 0.000000},
{-0.471397, 0.881921, 0.000000},
{-0.290285, 0.956940, 0.000000},
{-0.098017, 0.995185, 0.000000},
{0.098017, 0.995185, 0.000000},
{0.290285, 0.956940, 0.000000},
{0.471397, 0.881921, 0.000000},
{0.634393, 0.773010, 0.000000},
{0.773010, 0.634393, 0.000000},
{0.881921, 0.471397, 0.000000},
{0.956940, 0.290285, 0.000000},
{0.995185, 0.098017, 0.000000},
{0.995185, -0.098017, 0.000000},
{0.956940, -0.290285, 0.000000},
{0.881921, -0.471397, 0.000000},
{0.773010, -0.634393, 0.000000},
{0.634393, -0.773010, 0.000000},
{0.471397, -0.881921, 0.000000},
{0.290285, -0.956940, 0.000000},
{0.098017, -0.995185, 0.000000},
{0.000000, 0.000000, 1.000000},
{0.000000, 0.000000, 1.000000},
{0.000000, 0.000000, 1.000000},
{0.000000, 0.000000, -1.000000},
{0.000000, 0.000000, 1.000000},
{0.000000, 0.000000, 1.000000},
{0.000000, 0.000000, 1.000000},
{0.000000, 0.000000, 1.000000},
{0.000000, 0.000000, -1.000000},
{0.000000, 0.000000, -1.000000},
{0.000000, 0.000000, -1.000000},
{0.000000, 0.000000, -1.000000},
{0.000000, 0.000000, 1.000000},
{0.000000, 0.000000, -1.000000},
{0.000000, 0.000000, 1.000000},
{0.000000, 0.000000, 1.000000},
{0.000000, 0.000000, 1.000000},
{0.000000, 0.000000, 1.000000},
{0.000000, 0.000000, 1.000000},
{0.000000, 0.000000, 1.000000},
{0.000000, 0.000000, 1.000000},
{0.000000, 0.000000, -1.000000},
{0.000000, 0.000000, 1.000000},
{0.000000, 0.000000, 1.000000},
{0.000000, 0.000000, 1.000000},
{0.000000, 0.000000, 1.000000},
{0.000000, 0.000000, 1.000000},
{0.000000, 0.000000, 1.000000},
{0.000000, 0.000000, 1.000000},
{0.000000, 0.000000, 1.000000},
{0.000000, 0.000000, 1.000000},
{0.000000, 0.000000, 1.000000},
{0.000000, 0.000000, 1.000000},
{0.000000, 0.000000, 1.000000},
{0.000000, 0.000000, 1.000000},
{0.000000, 0.000000, 1.000000},
{0.000000, 0.000000, 1.000000},
{0.000000, 0.000000, 1.000000},
{0.000000, 0.000000, -1.000000},
{0.000000, 0.000000, -1.000000},
{0.000000, 0.000000, -1.000000},
{0.000000, 0.000000, -1.000000},
{0.000000, 0.000000, -1.000000},
{0.000000, 0.000000, -1.000000},
{0.000000, 0.000000, -1.000000},
{0.000000, 0.000000, 1.000000},
{0.000000, 0.000000, -1.000000},
{0.000000, 0.000000, -1.000000},
{0.000000, 0.000000, -1.000000},
{0.000000, 0.000000, -1.000000},
{0.000000, 0.000000, -1.000000},
{0.000000, 0.000000, -1.000000},
{0.000000, 0.000000, -1.000000},
{0.000000, 0.000000, -1.000000},
{0.000000, 0.000000, -1.000000},
{0.000000, 0.000000, -1.000000},
{0.000000, 0.000000, -1.000000},
{0.000000, 0.000000, -1.000000},
{0.000000, 0.000000, -1.000000},
{0.000000, 0.000000, -1.000000},
{0.000000, 0.000000, -1.000000},
{0.000000, 0.000000, -1.000000},
};
const polygon mesh_Cylinder_polygons[] = {
{0, 1, 3, 2, 0, 0},
{2, 3, 5, 4, 0, 4},
{4, 5, 7, 6, 0, 8},
{6, 7, 9, 8, 0, 12},
{8, 9, 11, 10, 0, 16},
{10, 11, 13, 12, 0, 20},
{12, 13, 15, 14, 0, 24},
{14, 15, 17, 16, 0, 28},
{16, 17, 19, 18, 0, 32},
{18, 19, 21, 20, 0, 36},
{20, 21, 23, 22, 0, 40},
{22, 23, 25, 24, 0, 44},
{24, 25, 27, 26, 0, 48},
{26, 27, 29, 28, 0, 52},
{28, 29, 31, 30, 0, 56},
{30, 31, 33, 32, 0, 60},
{32, 33, 35, 34, 0, 64},
{34, 35, 37, 36, 0, 68},
{36, 37, 39, 38, 0, 72},
{38, 39, 41, 40, 0, 76},
{40, 41, 43, 42, 0, 80},
{42, 43, 45, 44, 0, 84},
{44, 45, 47, 46, 0, 88},
{46, 47, 49, 48, 0, 92},
{48, 49, 51, 50, 0, 96},
{50, 51, 53, 52, 0, 100},
{52, 53, 55, 54, 0, 104},
{54, 55, 57, 56, 0, 108},
{56, 57, 59, 58, 0, 112},
{58, 59, 61, 60, 0, 116},
{115, 114, 16, 18, 0, 120},
{112, 113, 10, 12, 0, 124},
{60, 61, 63, 62, 0, 128},
{62, 63, 1, 0, 0, 132},
{110, 84, 82, 109, 0, 136},
{96, 83, 84, 110, 0, 140},
{98, 89, 83, 96, 0, 144},
{97, 91, 89, 98, 0, 148},
{73, 91, 97, 113, 0, 152},
{75, 73, 113, 112, 0, 156},
{74, 75, 112, 116, 0, 160},
{93, 74, 116, 114, 0, 164},
{92, 93, 114, 115, 0, 168},
{94, 92, 115, 101, 0, 172},
{90, 94, 101, 100, 0, 176},
{95, 90, 100, 99, 0, 180},
{71, 95, 99, 117, 0, 184},
{72, 71, 117, 111, 0, 188},
{70, 72, 111, 125, 0, 192},
{88, 70, 125, 127, 0, 196},
{87, 88, 127, 126, 0, 200},
{86, 87, 126, 104, 0, 204},
{81, 86, 104, 103, 0, 208},
{85, 81, 103, 102, 0, 212},
{121, 68, 85, 102, 0, 216},
{122, 69, 68, 121, 0, 220},
{119, 67, 69, 122, 0, 224},
{118, 76, 67, 119, 0, 228},
{120, 77, 76, 118, 0, 232},
{105, 79, 77, 120, 0, 236},
{107, 78, 79, 105, 0, 240},
{106, 80, 78, 107, 0, 244},
{124, 64, 80, 106, 0, 248},
{123, 65, 64, 124, 0, 252},
{108, 66, 65, 123, 0, 256},
{109, 82, 66, 108, 0, 260},
{13, 11, 73, 75, 0, 264},
{90, 95, 25, 23, 0, 268},
{91, 73, 11, 9, 0, 272},
{114, 116, 14, 16, 0, 276},
{13, 75, 74, 15, 0, 280},
{74, 93, 17, 15, 0, 284},
{1, 82, 84, 3, 0, 288},
{3, 84, 83, 5, 0, 292},
{10, 113, 97, 8, 0, 296},
{100, 101, 20, 22, 0, 300},
{8, 97, 98, 6, 0, 304},
{0, 109, 108, 62, 0, 308},
{83, 89, 7, 5, 0, 312},
{117, 99, 24, 26, 0, 316},
{89, 91, 9, 7, 0, 320},
{57, 80, 64, 59, 0, 324},
{64, 65, 61, 59, 0, 328},
{65, 66, 63, 61, 0, 332},
{63, 66, 82, 1, 0, 336},
{76, 77, 51, 49, 0, 340},
{77, 79, 53, 51, 0, 344},
{104, 126, 34, 36, 0, 348},
{53, 79, 78, 55, 0, 352},
{55, 78, 80, 57, 0, 356},
{85, 68, 43, 41, 0, 360},
{68, 69, 45, 43, 0, 364},
{69, 67, 47, 45, 0, 368},
{67, 76, 49, 47, 0, 372},
{88, 87, 35, 33, 0, 376},
{87, 86, 37, 35, 0, 380},
{37, 86, 81, 39, 0, 384},
{81, 85, 41, 39, 0, 388},
{92, 94, 21, 19, 0, 392},
{94, 90, 23, 21, 0, 396},
{29, 72, 70, 31, 0, 400},
{31, 70, 88, 33, 0, 404},
{27, 71, 72, 29, 0, 408},
{93, 92, 19, 17, 0, 412},
{96, 110, 2, 4, 0, 416},
{126, 127, 32, 34, 0, 420},
{116, 112, 12, 14, 0, 424},
{20, 101, 115, 18, 0, 428},
{103, 104, 36, 38, 0, 432},
{40, 102, 103, 38, 0, 436},
{2, 110, 109, 0, 0, 440},
{25, 95, 71, 27, 0, 444},
{118, 119, 46, 48, 0, 448},
{119, 122, 44, 46, 0, 452},
{44, 122, 121, 42, 0, 456},
{42, 121, 102, 40, 0, 460},
{106, 107, 54, 56, 0, 464},
{54, 107, 105, 52, 0, 468},
{105, 120, 50, 52, 0, 472},
{120, 118, 48, 50, 0, 476},
{6, 98, 96, 4, 0, 480},
{62, 108, 123, 60, 0, 484},
{60, 123, 124, 58, 0, 488},
{124, 106, 56, 58, 0, 492},
{30, 125, 111, 28, 0, 496},
{111, 117, 26, 28, 0, 500},
{30, 32, 127, 125, 0, 504},
{99, 100, 22, 24, 0, 508},
};
const mesh_material mesh_Cylinder_materials[] = {
};
const vec2 * mesh_Cylinder_uv_layers[] = {
mesh_Cylinder_UVMap_uvmap,
};
const mesh mesh_Cylinder = {
.position = mesh_Cylinder_position,
.position_length = (sizeof (mesh_Cylinder_position)) / (sizeof (mesh_Cylinder_position[0])),
.normal = mesh_Cylinder_normal,
.normal_length = (sizeof (mesh_Cylinder_normal)) / (sizeof (mesh_Cylinder_normal[0])),
.polygon_normal = mesh_Cylinder_polygon_normal,
.polygon_normal_length = (sizeof (mesh_Cylinder_polygon_normal)) / (sizeof (mesh_Cylinder_polygon_normal[0])),
.polygons = mesh_Cylinder_polygons,
.polygons_length = (sizeof (mesh_Cylinder_polygons)) / (sizeof (mesh_Cylinder_polygons[0])),
.uv_layers = mesh_Cylinder_uv_layers,
.uv_layers_length = (sizeof (mesh_Cylinder_uv_layers)) / (sizeof (mesh_Cylinder_uv_layers[0])),
.materials = mesh_Cylinder_materials,
.materials_length = (sizeof (mesh_Cylinder_materials)) / (sizeof (mesh_Cylinder_materials[0])),
};
const vec3 mesh_Plane_position[] = {
{-1.000000, -1.000000, 0.000000},
{1.000000, -1.000000, 0.000000},
{-1.000000, 1.000000, 0.000000},
{1.000000, 1.000000, 0.000000},
};
const vec2 mesh_Plane_UVMap_uvmap[] = {
{0.000000, 0.000000},
{1.000000, 0.000000},
{1.000000, 1.000000},
{0.000000, 1.000000},
};
const vec3 mesh_Plane_normal[] = {
{0.000000, 0.000000, 1.000000},
{0.000000, 0.000000, 1.000000},
{0.000000, 0.000000, 1.000000},
{0.000000, 0.000000, 1.000000},
};
const vec3 mesh_Plane_polygon_normal[] = {
{0.000000, 0.000000, 1.000000},
};
const polygon mesh_Plane_polygons[] = {
{0, 1, 3, 2, 0, 0},
};
const mesh_material mesh_Plane_materials[] = {
};
const vec2 * mesh_Plane_uv_layers[] = {
mesh_Plane_UVMap_uvmap,
};
const mesh mesh_Plane = {
.position = mesh_Plane_position,
.position_length = (sizeof (mesh_Plane_position)) / (sizeof (mesh_Plane_position[0])),
.normal = mesh_Plane_normal,
.normal_length = (sizeof (mesh_Plane_normal)) / (sizeof (mesh_Plane_normal[0])),
.polygon_normal = mesh_Plane_polygon_normal,
.polygon_normal_length = (sizeof (mesh_Plane_polygon_normal)) / (sizeof (mesh_Plane_polygon_normal[0])),
.polygons = mesh_Plane_polygons,
.polygons_length = (sizeof (mesh_Plane_polygons)) / (sizeof (mesh_Plane_polygons[0])),
.uv_layers = mesh_Plane_uv_layers,
.uv_layers_length = (sizeof (mesh_Plane_uv_layers)) / (sizeof (mesh_Plane_uv_layers[0])),
.materials = mesh_Plane_materials,
.materials_length = (sizeof (mesh_Plane_materials)) / (sizeof (mesh_Plane_materials[0])),
};
const object objects[] = {
{ // object_Cylinder
.mesh = &mesh_Cylinder,
.scale = {1.000000, 1.000000, 1.000000},
.rotation = {0.000000, 0.000000, 0.000000, 1.000000}, // quaternion (XYZW)
.location = {0.000000, 0.000000, 0.000000},
},
{ // object_Plane
.mesh = &mesh_Plane,
.scale = {2.000000, 2.000000, 2.000000},
.rotation = {0.000000, 0.000000, 0.000000, 1.000000}, // quaternion (XYZW)
.location = {0.000000, 0.000000, 0.000000},
},
};
const material materials[] = {
};