shield.h 13 KB

123456789101112
  1. #ifndef shield_H
  2. #define shield_H
  3. const GLfloat shield_vertices[] = {0,-6.29789,0,-1.22125,-5.35733,-0.887277,0.466465,-5.35733,-1.43566,-2.07772,-2.81654,-1.50954,-1.22125,-5.35733,-0.887277,-2.4425,-3.31103,0,0,-6.29789,0,0.466465,-5.35733,-1.43566,1.50955,-5.35731,0,0,-6.29789,0,1.50955,-5.35731,0,0.466465,-5.35733,1.43566,0,-6.29789,0,0.466465,-5.35733,1.43566,-1.22125,-5.35733,0.887277,-2.07772,-2.81654,-1.50954,-2.4425,-3.31103,0,-2.73081,0,-0.88728,0.793604,-2.81654,-2.4425,-0.754786,-3.31104,-2.32295,0,0,-2.87134,2.5682,-2.81652,0,1.97602,-3.31103,-1.43566,2.73081,0,-0.88728,0.793604,-2.81654,2.4425,1.97602,-3.31103,1.43566,1.68773,0,2.32296,-2.07772,-2.81654,1.50954,-0.754786,-3.31104,2.32295,-1.68773,0,2.32296,-2.07772,-2.81654,-1.50954,-2.73081,0,-0.88728,-1.68773,0,-2.32296,0.793604,-2.81654,-2.4425,0,0,-2.87134,1.68773,0,-2.32296,2.5682,-2.81652,0,2.73081,0,-0.88728,2.73081,0,0.88728,0.793604,-2.81654,2.4425,1.68773,0,2.32296,0,0,2.87134,-2.07772,-2.81654,1.50954,-1.68773,0,2.32296,-2.73081,0,0.88728,-0.793604,2.81654,-2.4425,-1.97602,3.31103,-1.43566,-0.466465,5.35733,-1.43566,2.07772,2.81654,-1.50954,0.754786,3.31104,-2.32295,1.22125,5.35733,-0.887277,2.07772,2.81654,1.50954,2.4425,3.31103,0,1.22125,5.35733,0.887277,-0.793604,2.81654,2.4425,0.754786,3.31104,2.32295,-0.466465,5.35733,1.43566,-2.5682,2.81652,0,-1.97602,3.31103,1.43566,-1.50955,5.35731,0,-1.50955,5.35731,0,-0.466465,5.35733,1.43566,0,6.29789,0,-1.50955,5.35731,0,-1.97602,3.31103,1.43566,-0.466465,5.35733,1.43566,-1.97602,3.31103,1.43566,-0.793604,2.81654,2.4425,-0.466465,5.35733,1.43566,-0.466465,5.35733,1.43566,1.22125,5.35733,0.887277,0,6.29789,0,-0.466465,5.35733,1.43566,0.754786,3.31104,2.32295,1.22125,5.35733,0.887277,0.754786,3.31104,2.32295,2.07772,2.81654,1.50954,1.22125,5.35733,0.887277,1.22125,5.35733,0.887277,1.22125,5.35733,-0.887277,0,6.29789,0,1.22125,5.35733,0.887277,2.4425,3.31103,0,1.22125,5.35733,-0.887277,2.4425,3.31103,0,2.07772,2.81654,-1.50954,1.22125,5.35733,-0.887277,1.22125,5.35733,-0.887277,-0.466465,5.35733,-1.43566,0,6.29789,0,1.22125,5.35733,-0.887277,0.754786,3.31104,-2.32295,-0.466465,5.35733,-1.43566,0.754786,3.31104,-2.32295,-0.793604,2.81654,-2.4425,-0.466465,5.35733,-1.43566,-0.466465,5.35733,-1.43566,-1.50955,5.35731,0,0,6.29789,0,-0.466465,5.35733,-1.43566,-1.97602,3.31103,-1.43566,-1.50955,5.35731,0,-1.97602,3.31103,-1.43566,-2.5682,2.81652,0,-1.50955,5.35731,0,-2.73081,0,0.88728,-1.97602,3.31103,1.43566,-2.5682,2.81652,0,-2.73081,0,0.88728,-1.68773,0,2.32296,-1.97602,3.31103,1.43566,-1.68773,0,2.32296,-0.793604,2.81654,2.4425,-1.97602,3.31103,1.43566,0,0,2.87134,0.754786,3.31104,2.32295,-0.793604,2.81654,2.4425,0,0,2.87134,1.68773,0,2.32296,0.754786,3.31104,2.32295,1.68773,0,2.32296,2.07772,2.81654,1.50954,0.754786,3.31104,2.32295,2.73081,0,0.88728,2.4425,3.31103,0,2.07772,2.81654,1.50954,2.73081,0,0.88728,2.73081,0,-0.88728,2.4425,3.31103,0,2.73081,0,-0.88728,2.07772,2.81654,-1.50954,2.4425,3.31103,0,1.68773,0,-2.32296,0.754786,3.31104,-2.32295,2.07772,2.81654,-1.50954,1.68773,0,-2.32296,0,0,-2.87134,0.754786,3.31104,-2.32295,0,0,-2.87134,-0.793604,2.81654,-2.4425,0.754786,3.31104,-2.32295,-1.68773,0,-2.32296,-1.97602,3.31103,-1.43566,-0.793604,2.81654,-2.4425,-1.68773,0,-2.32296,-2.73081,0,-0.88728,-1.97602,3.31103,-1.43566,-2.73081,0,-0.88728,-2.5682,2.81652,0,-1.97602,3.31103,-1.43566,-1.68773,0,2.32296,0,0,2.87134,-0.793604,2.81654,2.4425,-1.68773,0,2.32296,-0.754786,-3.31104,2.32295,0,0,2.87134,-0.754786,-3.31104,2.32295,0.793604,-2.81654,2.4425,0,0,2.87134,1.68773,0,2.32296,2.73081,0,0.88728,2.07772,2.81654,1.50954,1.68773,0,2.32296,1.97602,-3.31103,1.43566,2.73081,0,0.88728,1.97602,-3.31103,1.43566,2.5682,-2.81652,0,2.73081,0,0.88728,2.73081,0,-0.88728,1.68773,0,-2.32296,2.07772,2.81654,-1.50954,2.73081,0,-0.88728,1.97602,-3.31103,-1.43566,1.68773,0,-2.32296,1.97602,-3.31103,-1.43566,0.793604,-2.81654,-2.4425,1.68773,0,-2.32296,0,0,-2.87134,-1.68773,0,-2.32296,-0.793604,2.81654,-2.4425,0,0,-2.87134,-0.754786,-3.31104,-2.32295,-1.68773,0,-2.32296,-0.754786,-3.31104,-2.32295,-2.07772,-2.81654,-1.50954,-1.68773,0,-2.32296,-2.73081,0,-0.88728,-2.73081,0,0.88728,-2.5682,2.81652,0,-2.73081,0,-0.88728,-2.4425,-3.31103,0,-2.73081,0,0.88728,-2.4425,-3.31103,0,-2.07772,-2.81654,1.50954,-2.73081,0,0.88728,-1.22125,-5.35733,0.887277,-0.754786,-3.31104,2.32295,-2.07772,-2.81654,1.50954,-1.22125,-5.35733,0.887277,0.466465,-5.35733,1.43566,-0.754786,-3.31104,2.32295,0.466465,-5.35733,1.43566,0.793604,-2.81654,2.4425,-0.754786,-3.31104,2.32295,0.466465,-5.35733,1.43566,1.97602,-3.31103,1.43566,0.793604,-2.81654,2.4425,0.466465,-5.35733,1.43566,1.50955,-5.35731,0,1.97602,-3.31103,1.43566,1.50955,-5.35731,0,2.5682,-2.81652,0,1.97602,-3.31103,1.43566,1.50955,-5.35731,0,1.97602,-3.31103,-1.43566,2.5682,-2.81652,0,1.50955,-5.35731,0,0.466465,-5.35733,-1.43566,1.97602,-3.31103,-1.43566,0.466465,-5.35733,-1.43566,0.793604,-2.81654,-2.4425,1.97602,-3.31103,-1.43566,-2.4425,-3.31103,0,-1.22125,-5.35733,0.887277,-2.07772,-2.81654,1.50954,-2.4425,-3.31103,0,-1.22125,-5.35733,-0.887277,-1.22125,-5.35733,0.887277,-1.22125,-5.35733,-0.887277,0,-6.29789,0,-1.22125,-5.35733,0.887277,0.466465,-5.35733,-1.43566,-0.754786,-3.31104,-2.32295,0.793604,-2.81654,-2.4425,0.466465,-5.35733,-1.43566,-1.22125,-5.35733,-0.887277,-0.754786,-3.31104,-2.32295,-1.22125,-5.35733,-0.887277,-2.07772,-2.81654,-1.50954,-0.754786,-3.31104,-2.32295};
  4. const GLfloat shield_normals[] = {-0.188559,-0.792264,-0.580313,-0.188559,-0.792264,-0.580313,-0.188559,-0.792264,-0.580313,-0.866413,-0.373282,-0.331646,-0.866413,-0.373282,-0.331646,-0.866413,-0.373282,-0.331646,0.493648,-0.792262,-0.358653,0.493648,-0.792262,-0.358653,0.493648,-0.792262,-0.358653,0.493648,-0.792262,0.358653,0.493648,-0.792262,0.358653,0.493648,-0.792262,0.358653,-0.188559,-0.792264,0.580313,-0.188559,-0.792264,0.580313,-0.188559,-0.792264,0.580313,-0.946849,-0.157596,-0.280429,-0.946849,-0.157596,-0.280429,-0.946849,-0.157596,-0.280429,-0.025891,-0.157597,-0.987164,-0.025891,-0.157597,-0.987164,-0.025891,-0.157597,-0.987164,0.93085,-0.157596,-0.329669,0.93085,-0.157596,-0.329669,0.93085,-0.157596,-0.329669,0.60118,-0.157598,0.783419,0.60118,-0.157598,0.783419,0.60118,-0.157598,0.783419,-0.559303,-0.157597,0.813845,-0.559303,-0.157597,0.813845,-0.559303,-0.157597,0.813845,-0.807674,-0.057637,-0.586806,-0.807674,-0.057637,-0.586806,-0.807674,-0.057637,-0.586806,0.308503,-0.057638,-0.949475,0.308503,-0.057638,-0.949475,0.308503,-0.057638,-0.949475,0.998338,-0.057638,0,0.998338,-0.057638,0,0.998338,-0.057638,0,0.308503,-0.057638,0.949475,0.308503,-0.057638,0.949475,0.308503,-0.057638,0.949475,-0.807674,-0.057637,0.586806,-0.807674,-0.057637,0.586806,-0.807674,-0.057637,0.586806,-0.506004,0.373282,-0.777573,-0.506004,0.373282,-0.777573,-0.506004,0.373282,-0.777573,0.583156,0.373282,-0.721519,0.583156,0.373282,-0.721519,0.583156,0.373282,-0.721519,0.866413,0.373282,0.331646,0.866413,0.373282,0.331646,0.866413,0.373282,0.331646,-0.047675,0.373283,0.926492,-0.047675,0.373283,0.926492,-0.047675,0.373283,0.926492,-0.895882,0.37328,0.240954,-0.895882,0.37328,0.240954,-0.895882,0.37328,0.240954,-0.493648,0.792262,0.358653,-0.493648,0.792262,0.358653,-0.493648,0.792262,0.358653,-0.6947,0.512483,0.504732,-0.6947,0.512483,0.504732,-0.6947,0.512483,0.504732,-0.506004,0.373282,0.777573,-0.506004,0.373282,0.777573,-0.506004,0.373282,0.777573,0.188559,0.792264,0.580313,0.188559,0.792264,0.580313,0.188559,0.792264,0.580313,0.265356,0.512483,0.816668,0.265356,0.512483,0.816668,0.265356,0.512483,0.816668,0.583156,0.373282,0.721518,0.583156,0.373282,0.721518,0.583156,0.373282,0.721518,0.610177,0.792265,-0,0.610177,0.792265,-0,0.610177,0.792265,-0,0.858699,0.51248,0,0.858699,0.51248,0,0.858699,0.51248,0,0.866413,0.373282,-0.331646,0.866413,0.373282,-0.331646,0.866413,0.373282,-0.331646,0.188559,0.792264,-0.580313,0.188559,0.792264,-0.580313,0.188559,0.792264,-0.580313,0.265356,0.512483,-0.816668,0.265356,0.512483,-0.816668,0.265356,0.512483,-0.816668,-0.047675,0.373282,-0.926492,-0.047675,0.373282,-0.926492,-0.047675,0.373282,-0.926492,-0.493648,0.792262,-0.358653,-0.493648,0.792262,-0.358653,-0.493648,0.792262,-0.358653,-0.6947,0.512483,-0.504732,-0.6947,0.512483,-0.504732,-0.6947,0.512483,-0.504732,-0.895882,0.37328,-0.240954,-0.895882,0.37328,-0.240954,-0.895882,0.37328,-0.240954,-0.93085,0.157596,0.329669,-0.93085,0.157596,0.329669,-0.93085,0.157596,0.329669,-0.805969,0.086746,0.585567,-0.805969,0.086746,0.585567,-0.805969,0.086746,0.585567,-0.60118,0.157598,0.783419,-0.60118,0.157598,0.783419,-0.60118,0.157598,0.783419,0.025891,0.157597,0.987164,0.025891,0.157597,0.987164,0.025891,0.157597,0.987164,0.307852,0.086747,0.947471,0.307852,0.086747,0.947471,0.307852,0.086747,0.947471,0.559303,0.157597,0.813845,0.559303,0.157597,0.813845,0.559303,0.157597,0.813845,0.946849,0.157596,0.280429,0.946849,0.157596,0.280429,0.946849,0.157596,0.280429,0.99623,0.086748,-0,0.99623,0.086748,-0,0.99623,0.086748,-0,0.946849,0.157596,-0.280429,0.946849,0.157596,-0.280429,0.946849,0.157596,-0.280429,0.559303,0.157597,-0.813845,0.559303,0.157597,-0.813845,0.559303,0.157597,-0.813845,0.307852,0.086747,-0.947471,0.307852,0.086747,-0.947471,0.307852,0.086747,-0.947471,0.025891,0.157597,-0.987164,0.025891,0.157597,-0.987164,0.025891,0.157597,-0.987164,-0.60118,0.157598,-0.783419,-0.60118,0.157598,-0.783419,-0.60118,0.157598,-0.783419,-0.805969,0.086746,-0.585567,-0.805969,0.086746,-0.585567,-0.805969,0.086746,-0.585567,-0.93085,0.157596,-0.329669,-0.93085,0.157596,-0.329669,-0.93085,0.157596,-0.329669,-0.308503,0.057638,0.949475,-0.308503,0.057638,0.949475,-0.308503,0.057638,0.949475,-0.307852,-0.086747,0.947471,-0.307852,-0.086747,0.947471,-0.307852,-0.086747,0.947471,-0.025891,-0.157597,0.987164,-0.025891,-0.157597,0.987164,-0.025891,-0.157597,0.987164,0.807674,0.057637,0.586806,0.807674,0.057637,0.586806,0.807674,0.057637,0.586806,0.805969,-0.086746,0.585567,0.805969,-0.086746,0.585567,0.805969,-0.086746,0.585567,0.93085,-0.157596,0.329669,0.93085,-0.157596,0.329669,0.93085,-0.157596,0.329669,0.807674,0.057637,-0.586806,0.807674,0.057637,-0.586806,0.807674,0.057637,-0.586806,0.805969,-0.086746,-0.585567,0.805969,-0.086746,-0.585567,0.805969,-0.086746,-0.585567,0.60118,-0.157598,-0.783419,0.60118,-0.157598,-0.783419,0.60118,-0.157598,-0.783419,-0.308503,0.057638,-0.949475,-0.308503,0.057638,-0.949475,-0.308503,0.057638,-0.949475,-0.307852,-0.086747,-0.947471,-0.307852,-0.086747,-0.947471,-0.307852,-0.086747,-0.947471,-0.559303,-0.157597,-0.813845,-0.559303,-0.157597,-0.813845,-0.559303,-0.157597,-0.813845,-0.998338,0.057638,0,-0.998338,0.057638,0,-0.998338,0.057638,0,-0.99623,-0.086748,0,-0.99623,-0.086748,0,-0.99623,-0.086748,0,-0.946849,-0.157596,0.280429,-0.946849,-0.157596,0.280429,-0.946849,-0.157596,0.280429,-0.583156,-0.373282,0.721519,-0.583156,-0.373282,0.721519,-0.583156,-0.373282,0.721519,-0.265357,-0.512483,0.816668,-0.265357,-0.512483,0.816668,-0.265357,-0.512483,0.816668,0.047675,-0.373282,0.926492,0.047675,-0.373282,0.926492,0.047675,-0.373282,0.926492,0.506004,-0.373282,0.777573,0.506004,-0.373282,0.777573,0.506004,-0.373282,0.777573,0.6947,-0.512483,0.504731,0.6947,-0.512483,0.504731,0.6947,-0.512483,0.504731,0.895882,-0.37328,0.240954,0.895882,-0.37328,0.240954,0.895882,-0.37328,0.240954,0.895882,-0.37328,-0.240954,0.895882,-0.37328,-0.240954,0.895882,-0.37328,-0.240954,0.6947,-0.512483,-0.504731,0.6947,-0.512483,-0.504731,0.6947,-0.512483,-0.504731,0.506004,-0.373282,-0.777573,0.506004,-0.373282,-0.777573,0.506004,-0.373282,-0.777573,-0.866413,-0.373282,0.331646,-0.866413,-0.373282,0.331646,-0.866413,-0.373282,0.331646,-0.858699,-0.51248,-0,-0.858699,-0.51248,-0,-0.858699,-0.51248,-0,-0.610177,-0.792265,0,-0.610177,-0.792265,0,-0.610177,-0.792265,0,0.047675,-0.373282,-0.926492,0.047675,-0.373282,-0.926492,0.047675,-0.373282,-0.926492,-0.265357,-0.512483,-0.816668,-0.265357,-0.512483,-0.816668,-0.265357,-0.512483,-0.816668,-0.583156,-0.373282,-0.721518,-0.583156,-0.373282,-0.721518,-0.583156,-0.373282,-0.721518};
  5. const GLushort shield_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,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239};
  6. const GLsizeiptr shield_numind = 240;
  7. const GLsizeiptr shield_numvert = 240;
  8. #endif