body.h 11 KB

123456789101112
  1. #ifndef body_H
  2. #define body_H
  3. const GLfloat body_vertices[] = {-0.712124,3.13877,-1,0.712124,2.84669,-1,-0.712124,2.84669,-1,-1,2.84669,0.358032,-1,3.13877,-0.712124,-1,2.84669,-0.712124,0.712124,3.42664,0.712124,-0.712124,3.42664,-0.712124,-0.712124,3.42664,0.712124,1,3.13877,-0.712124,1,2.84669,0.358032,1,2.84669,-0.712124,0.712124,3.13877,0.846171,-0.712124,2.84669,0.645908,0.712124,2.84669,0.645908,0.712124,0.086069,-0.712124,0.712124,0.373945,-1,1,0.373945,-0.712124,0.712124,3.13877,-1,0.712124,3.42664,-0.712124,1,3.13877,-0.712124,0.712124,0.086069,0.712124,1,0.373945,0.574046,0.712124,0.373945,0.846171,0.712124,3.42664,0.712124,0.712124,3.13877,0.846171,1,3.13877,0.574046,-0.712124,0.086069,-0.712124,-1,0.373945,-0.712124,-0.712124,0.373945,-1,-0.712124,3.42664,-0.712124,-0.712124,3.13877,-1,-1,3.13877,-0.712124,-0.712124,0.086069,0.712124,-0.712124,0.373945,0.846171,-1,0.373945,0.574046,-0.712124,3.42664,0.712124,-1,3.13877,0.574046,-0.712124,3.13877,0.846171,0.712124,0.086069,-0.712124,1,0.373945,0.574046,0.712124,0.086069,0.712124,0.712124,3.13877,-1,1,2.84669,-0.712124,0.712124,2.84669,-1,0.712124,3.42664,-0.712124,1,3.13877,0.574046,1,3.13877,-0.712124,0.712124,0.621861,0.757323,1,0.373945,0.574046,1,0.621861,0.469447,0.712124,0.086069,0.712124,-0.712124,0.373945,0.846171,-0.712124,0.086069,0.712124,-0.712124,3.42664,0.712124,0.712124,3.13877,0.846171,0.712124,3.42664,0.712124,-1,0.373945,0.574046,-0.712124,0.621861,0.757323,-1,0.621861,0.469447,-0.712124,0.086069,-0.712124,-1,0.373945,0.574046,-1,0.373945,-0.712124,-0.712124,3.42664,-0.712124,-1,3.13877,0.574046,-0.712124,3.42664,0.712124,-0.712124,0.373945,-1,-1,0.621861,-0.712124,-0.712124,0.621861,-1,-0.712124,0.086069,-0.712124,0.712124,0.373945,-1,0.712124,0.086069,-0.712124,0.712124,3.42664,-0.712124,-0.712124,3.13877,-1,-0.712124,3.42664,-0.712124,-0.712124,0.086069,0.712124,0.712124,0.086069,-0.712124,0.712124,0.086069,0.712124,-0.712124,1.01001,-1,-1,2.76001,-0.712124,-0.712124,2.76001,-1,-1,2.76001,-0.362674,-0.712124,1.01001,-0.327422,-0.712124,2.76001,-0.074798,0.712124,1.01001,-0.327422,1,2.76001,-0.362674,0.712124,2.76001,-0.074798,0.712124,1.01001,-1,1,0.664411,-0.712124,0.712124,0.664411,-1,0.712124,1.01001,-0.327422,-0.712124,0.664411,-0.327422,0.712124,0.664411,-0.327422,1,1.01001,-0.712124,1,0.664411,-0.615298,1,0.664411,-0.712124,-1,1.01001,-0.615298,-1,0.664411,-0.712124,-1,0.664411,-0.615298,-0.712124,1.01001,-1,0.712124,0.664411,-1,-0.712124,0.664411,-1,0.712124,2.84669,0.645908,1,3.13877,0.574046,0.712124,3.13877,0.846171,-1,3.13877,0.574046,-0.712124,2.84669,0.645908,-0.712124,3.13877,0.846171,-0.712124,2.84669,-1,-1,3.13877,-0.712124,-0.712124,3.13877,-1,1,2.76001,-0.712124,0.712124,2.76001,-1,0.712124,2.84669,0.645908,-0.712124,2.76001,-0.074798,0.712124,2.76001,-0.074798,1,2.76001,-0.362674,1,2.76001,-0.712124,-1,2.76001,-0.362674,-1,2.76001,-0.712124,0.712124,2.76001,-1,-0.712124,2.76001,-1,-0.712124,0.621861,-1,0.712124,0.373945,-1,-0.712124,0.373945,-1,-1,0.621861,0.469447,-1,0.373945,-0.712124,-1,0.373945,0.574046,1,0.373945,-0.712124,1,0.621861,0.469447,1,0.373945,0.574046,0.712124,0.621861,0.757323,-0.712124,0.373945,0.846171,0.712124,0.373945,0.846171,0.712124,0.621861,-1,1,0.373945,-0.712124,0.712124,0.373945,-1,-1,0.664411,-0.712124,-0.712124,0.664411,-1,-1,0.621861,0.469447,-0.712124,0.664411,-0.327422,-1,0.664411,-0.615298,0.712124,0.664411,-0.327422,1,0.621861,0.469447,1,0.664411,-0.615298,0.712124,0.664411,-0.327422,1,1.01001,-0.615298,0.712124,1.01001,-0.327422,-1,0.664411,-0.615298,-0.712124,1.01001,-0.327422,-1,1.01001,-0.615298,-1,1.01001,-0.712124,0.712124,0.621861,-1,-1,0.621861,-0.712124,1,0.621861,-0.712124,0.712124,0.664411,-0.327422,-0.712124,0.621861,0.757323,0.712124,0.621861,0.757323,1,0.621861,-0.712124,0.712124,1.01001,-1,-1,1.01001,-0.712124,1,1.01001,-0.615298,0.712124,2.76001,-0.074798,-0.712124,1.01001,-0.327422,0.712124,1.01001,-0.327422,1,1.01001,-0.712124,0.712124,2.76001,-0.074798,1,2.84669,0.358032,0.712124,2.84669,0.645908,-1,2.84669,0.358032,-0.712124,2.76001,-0.074798,-0.712124,2.84669,0.645908,-1,2.84669,-0.712124,0.712124,3.13877,-1,-1,3.13877,0.574046,0.712124,3.42664,-0.712124,1,3.13877,0.574046,-0.712124,3.13877,0.846171,1,0.373945,-0.712124,1,3.13877,-0.712124,0.712124,3.42664,0.712124,0.712124,0.621861,0.757323,0.712124,0.373945,0.846171,1,0.373945,0.574046,0.712124,0.373945,0.846171,-0.712124,3.13877,0.846171,-1,0.373945,0.574046,-0.712124,0.373945,0.846171,-0.712124,0.621861,0.757323,-0.712124,0.086069,-0.712124,-0.712124,0.086069,0.712124,-1,0.373945,0.574046,-1,3.13877,-0.712124,-1,0.373945,-0.712124,-0.712124,0.373945,-1,0.712124,3.13877,-1,-0.712124,0.086069,-0.712124,-1,2.76001,-0.362674,-1,1.01001,-0.615298,-0.712124,1.01001,-0.327422,0.712124,1.01001,-0.327422,1,1.01001,-0.615298,1,2.76001,-0.362674,-0.712124,1.01001,-0.327422,0.712124,2.84669,0.645908,1,2.84669,0.358032,1,3.13877,0.574046,-1,3.13877,0.574046,-1,2.84669,0.358032,-0.712124,2.84669,0.645908,-0.712124,2.84669,0.645908,-0.712124,0.621861,0.757323,-0.712124,0.621861,0.757323,0.712124,0.621861,0.757323,1,0.664411,-0.615298,-0.712124,0.664411,-0.327422,-0.712124,0.664411,-0.327422,-0.712124,2.76001,-0.074798,1,2.76001,-0.362674,-1,2.76001,-0.362674};
  4. const GLfloat body_normals[] = {0,0,-1,0,0,-1,0,0,-1,-1,0,0,-1,0,0,-1,0,0,-0,1,0,-0,1,0,-0,1,0,1,-0,0,1,-0,0,1,-0,0,0,-0.565493,0.824753,0,-0.565493,0.824753,0,-0.565493,0.824753,0.577351,-0.57735,-0.57735,0.577351,-0.57735,-0.57735,0.577351,-0.57735,-0.57735,0.57735,0.57735,-0.57735,0.57735,0.57735,-0.57735,0.57735,0.57735,-0.57735,0.650701,-0.320531,0.688366,0.650701,-0.320531,0.688366,0.650701,-0.320531,0.688366,0.650701,0.320531,0.688367,0.650701,0.320531,0.688367,0.650701,0.320531,0.688367,-0.57735,-0.57735,-0.57735,-0.57735,-0.57735,-0.57735,-0.57735,-0.57735,-0.57735,-0.57735,0.57735,-0.57735,-0.57735,0.57735,-0.57735,-0.57735,0.57735,-0.57735,-0.650701,-0.320531,0.688366,-0.650701,-0.320531,0.688366,-0.650701,-0.320531,0.688366,-0.650701,0.320531,0.688367,-0.650701,0.320531,0.688367,-0.650701,0.320531,0.688367,0.707107,-0.707106,0,0.707107,-0.707106,0,0.707107,-0.707106,0,0.707107,0,-0.707107,0.707107,0,-0.707107,0.707107,0,-0.707107,0.707107,0.707107,-0,0.707107,0.707107,-0,0.707107,0.707107,-0,0.677594,0.285888,0.677594,0.677594,0.285888,0.677594,0.677594,0.285888,0.677594,0,-0.422121,0.90654,0,-0.422121,0.90654,0,-0.422121,0.90654,0,0.422121,0.90654,0,0.422121,0.90654,0,0.422121,0.90654,-0.677594,0.285888,0.677594,-0.677594,0.285888,0.677594,-0.677594,0.285888,0.677594,-0.707107,-0.707107,0,-0.707107,-0.707107,0,-0.707107,-0.707107,0,-0.707107,0.707107,0,-0.707107,0.707107,0,-0.707107,0.707107,0,-0.707107,0,-0.707107,-0.707107,0,-0.707107,-0.707107,0,-0.707107,0,-0.707107,-0.707107,0,-0.707107,-0.707107,0,-0.707107,-0.707107,0,0.707107,-0.707107,0,0.707107,-0.707107,0,0.707107,-0.707107,-0,-1,-0,-0,-1,-0,-0,-1,-0,-0.707107,0,-0.707107,-0.707107,0,-0.707107,-0.707107,0,-0.707107,-0.703452,-0.101548,0.703452,-0.703452,-0.101548,0.703452,-0.703452,-0.101548,0.703452,0.703452,-0.101548,0.703452,0.703452,-0.101548,0.703452,0.703452,-0.101548,0.703452,0.707107,0,-0.707107,0.707107,0,-0.707107,0.707107,0,-0.707107,0,-0,1,0,-0,1,0,-0,1,1,-0,0,1,-0,0,1,-0,0,-1,0,0,-1,0,0,-1,0,0,0,0,-1,0,0,-1,0,0,-1,0.614848,-0.445974,0.650438,0.614848,-0.445974,0.650438,0.614848,-0.445974,0.650438,-0.614848,-0.445974,0.650438,-0.614848,-0.445974,0.650438,-0.614848,-0.445974,0.650438,-0.707107,0,-0.707107,-0.707107,0,-0.707107,-0.707107,0,-0.707107,0.707107,0,-0.707107,0.707107,0,-0.707107,0,-0.992845,0.119411,0,-0.992845,0.119411,0,-0.992845,0.119411,1,-0,0,1,-0,0,-1,0,0,-1,0,0,0,0,-1,0,0,-1,0,0,-1,0,0,-1,0,0,-1,-1,0,-0,-1,0,-0,-1,0,-0,1,0,0,1,0,0,1,0,0,0,0.337368,0.941373,0,0.337368,0.941373,0,0.337368,0.941373,0.707107,0,-0.707107,0.707107,0,-0.707107,0.707107,0,-0.707107,-0.707107,0,-0.707107,-0.707107,0,-0.707107,-0.039166,0.998465,0.039166,-0.039166,0.998465,0.039166,-0.039166,0.998465,0.039166,0.039166,0.998465,0.039166,0.039166,0.998465,0.039166,0.039166,0.998465,0.039166,0.707107,0,0.707107,0.707107,0,0.707107,0.707107,0,0.707107,-0.707107,0,0.707107,-0.707107,0,0.707107,-0.707107,0,0.707107,-0.707107,0,-0.707107,0,0,-1,-1,0,0,1,0,0,0,0.999232,0.039196,0,0.999232,0.039196,0,0.999232,0.039196,0.707107,0,-0.707107,0,0,-1,-1,0,0,1,-0,0,0,-0.142876,0.989741,0,-0.142876,0.989741,0,-0.142876,0.989741,0.707107,0,-0.707107,0.118568,-0.985841,0.118568,0.118568,-0.985841,0.118568,0.118568,-0.985841,0.118568,-0.118568,-0.985841,0.118568,-0.118568,-0.985841,0.118568,-0.118568,-0.985841,0.118568,-0.707107,0,-0.707107,0,0,-1,-1,-0,0,0,1,0,1,-0,0,0,-0.565493,0.824753,0.707107,-0.707106,0,0.707107,0,-0.707107,0.707107,0.707107,0,0.66477,0.25203,0.703251,0.66477,0.25203,0.703251,0.66477,0.25203,0.703251,0,-0.422121,0.90654,0,0.422121,0.90654,-0.66477,0.25203,0.703251,-0.66477,0.25203,0.703251,-0.66477,0.25203,0.703251,-0.707107,-0.707106,-0,-0.707107,-0.707106,-0,-0.707107,-0.707106,-0,-0.707107,0.707107,0,-0.707107,-0,-0.707107,-0,-0.707107,-0.707107,0,0.707107,-0.707107,0,-1,0,-0.703451,-0.101548,0.703452,-0.703451,-0.101548,0.703452,-0.703451,-0.101548,0.703452,0.703451,-0.101548,0.703452,0.703451,-0.101548,0.703452,0.703451,-0.101548,0.703452,0,0,1,0.626595,-0.463419,0.626595,0.626595,-0.463419,0.626595,0.626595,-0.463419,0.626595,-0.626595,-0.463419,0.626595,-0.626595,-0.463419,0.626595,-0.626595,-0.463419,0.626595,0,-0.992845,0.119411,-0,0.337368,0.941373,-0.039166,0.998465,0.039166,0.039166,0.998465,0.039166,0.707107,0,0.707107,-0.707107,0,0.707107,-0,0.999232,0.039196,0,-0.142876,0.989741,0.118568,-0.985841,0.118568,-0.118568,-0.985841,0.118568};
  5. const GLushort body_indices[] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,44,111,112,113,114,115,11,116,117,118,5,119,2,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,68,137,138,139,140,141,142,143,144,145,146,147,148,149,150,138,151,78,101,152,122,98,153,125,154,94,129,155,156,157,89,158,134,121,159,99,96,119,160,117,161,93,162,163,164,112,165,87,166,167,168,169,170,171,80,172,108,0,173,1,3,174,4,6,175,7,9,176,10,12,177,13,39,178,40,42,179,43,45,180,46,181,182,183,51,184,52,54,185,55,186,187,188,189,190,191,63,192,64,66,193,67,69,194,70,72,195,73,75,196,76,78,151,79,197,198,199,200,201,202,87,165,88,90,203,91,93,161,94,96,160,97,99,159,100,204,205,206,207,208,209,108,172,109,44,43,111,113,210,114,11,10,116,118,3,5,2,1,120,122,152,123,125,153,126,128,154,129,131,211,132,134,158,135,68,67,137,139,212,140,142,213,143,145,214,146,148,215,149,138,137,151,101,100,152,98,97,153,154,95,94,155,216,156,89,88,158,121,120,159,96,118,119,117,116,161,162,217,163,112,111,165,166,218,167,169,219,170,80,79,172};
  6. const GLsizeiptr body_numind = 372;
  7. const GLsizeiptr body_numvert = 220;
  8. #endif