-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathking.h
12 lines (9 loc) · 13.4 KB
/
king.h
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef king_H
#define king_H
const GLfloat king_vertices[] = {0,0.167405,1.04824,0.057919,0.154057,0.978576,0,0.167405,0.978576,0.107021,0.116044,1.04824,0.107021,0.116044,0.978576,0.139829,0.059153,0.978576,0.15135,-0.007954,1.04824,0.15135,-0.007954,0.978576,0.139829,-0.075061,0.978576,0.107021,-0.131951,1.04824,0.107021,-0.131951,0.978576,0.057919,-0.169964,0.978576,-0,-0.183313,1.04824,-0,-0.183313,0.978576,-0.057919,-0.169964,0.978576,-0.107021,-0.131951,1.04824,-0.107021,-0.131951,0.978576,-0.139829,-0.075061,0.978576,-0.15135,-0.007954,1.04824,-0.15135,-0.007954,0.978576,-0.139829,0.059153,0.978576,-0.107021,0.116044,1.04824,-0.107021,0.116044,0.978576,-0.057919,0.154057,0.978576,0.057919,0.154057,1.15871,0.139829,0.059153,1.15871,0.139829,-0.075061,1.15871,0.057919,-0.169964,1.15871,-0.057919,-0.169964,1.15871,-0.139829,-0.075061,1.15871,-0.139829,0.059153,1.15871,-0.057919,0.154057,1.15871,-0,0.156884,1.04824,0,0.156884,0.978576,0.054444,0.144336,0.978576,0.100599,0.108604,0.978576,0.100599,0.108604,1.04824,0.131439,0.055127,0.978576,0.142269,-0.007954,0.978576,0.142269,-0.007954,1.04824,0.131439,-0.071034,0.978576,0.100599,-0.124512,0.978576,0.100599,-0.124512,1.04824,0.054444,-0.160244,0.978576,-0,-0.172791,0.978576,-0,-0.172791,1.04824,-0.054444,-0.160244,0.978576,-0.100599,-0.124512,0.978576,-0.100599,-0.124512,1.04824,-0.131439,-0.071034,0.978576,-0.142269,-0.007954,0.978576,-0.142269,-0.007954,1.04824,-0.131439,0.055127,0.978576,-0.100599,0.108604,0.978576,-0.100599,0.108604,1.04824,-0.054444,0.144336,0.978576,0.054444,0.144336,1.15871,0.131439,0.055127,1.15871,0.131439,-0.071034,1.15871,0.054444,-0.160244,1.15871,-0.054444,-0.160244,1.15871,-0.131439,-0.071034,1.15871,-0.131439,0.055127,1.15871,-0.054444,0.144336,1.15871,-0.073734,-0.191165,0.92393,-0.035772,-0.13597,0.918668,-0.058964,-0.130338,0.92393,-0.050541,-0.196796,0.918668,-0.01611,-0.140744,0.903685,-0.03088,-0.201571,0.903685,-0.008282,-0.165799,0.881261,-0.017742,-0.204761,0.881261,-0.003668,-0.166919,0.85481,-0.013129,-0.205881,0.85481,-0.008282,-0.165799,0.832039,-0.03088,-0.201571,0.823585,-0.01611,-0.140744,0.823585,-0.035772,-0.13597,0.8046,-0.050541,-0.196796,0.80828,-0.058964,-0.130338,0.790636,-0.073734,-0.191165,0.794316,-0.081031,-0.124815,0.788077,-0.095801,-0.185642,0.788077,-0.10211,-0.117205,0.783116,-0.117415,-0.165735,0.794427,-0.11688,-0.178032,0.783116,-0.129726,-0.177569,0.828358,-0.114956,-0.116742,0.828358,-0.125931,-0.161943,0.828358,-0.134339,-0.176449,0.85481,-0.114956,-0.116742,0.881261,-0.119569,-0.115622,0.85481,-0.129726,-0.177569,0.881261,-0.101818,-0.119932,0.903685,-0.055208,-0.195663,0.90582,-0.023974,-0.135526,0.893851,-0.039502,-0.199477,0.893851,-0.116588,-0.180759,0.903685,-0.082157,-0.124707,0.918668,-0.096926,-0.185533,0.918668,-0.073734,-0.191165,0.910022,-0.025323,-0.20292,0.85481,-0.029008,-0.202025,0.875939,-0.029363,-0.201804,0.838559,-0.039502,-0.199477,0.834223,-0.017742,-0.204761,0.832039,-0.055208,-0.195663,0.823369,-0.073734,-0.191165,0.808223,-0.09226,-0.186666,0.803799,-0.109188,-0.183325,0.798833,-0.11846,-0.180304,0.83368,-0.122145,-0.17941,0.85481,-0.11846,-0.180304,0.875939,-0.09226,-0.186666,0.90582,-0.107966,-0.182853,0.893851,-0.092729,-0.116175,0.792949,-0.013479,-0.138074,0.875939,-0.102931,-0.116354,0.83368,-0.009794,-0.138969,0.85481,-0.106617,-0.115459,0.85481,-0.013479,-0.138074,0.83368,-0.102931,-0.116354,0.875939,-0.023974,-0.135526,0.829738,-0.092437,-0.118902,0.893851,-0.039679,-0.131713,0.82114,-0.076732,-0.122716,0.90582,-0.058205,-0.127214,0.803277,-0.039679,-0.131713,0.90582,-0.058205,-0.127214,0.910022,-0.076732,-0.122716,0.803799,-0.149359,-0.157207,0.816178,-0.135826,-0.1449,0.799182,-0.16249,-0.088616,0.778324,-0.145564,-0.141581,0.816178,-0.136221,-0.160397,0.793754,-0.145591,-0.031005,0.756668,-0.178508,-0.090029,0.778324,-0.162514,-0.098904,0.761328,-0.177319,-0.103496,0.7559,-0.149694,-0.043887,0.734244,-0.130269,-0.035885,0.756668,-0.134263,-0.045367,0.739672,-0.120602,-0.287993,0.631985,0.2005,-0.256635,0.232347,0.163551,-0.241138,0.208845,-0.113452,-0.333665,0.636533,0.171949,-0.275038,0.214376,-0.113452,-0.333665,0.636533,-0.158137,-0.263244,0.651597,-0.120602,-0.287993,0.631985,-0.142307,-0.364354,0.661666,-0.163029,-0.308383,0.73115,-0.083653,-0.30349,0.655487,-0.076338,-0.297552,0.703627,-0.083653,-0.30349,0.655487};
const GLfloat king_normals[] = {0,0.966994,0.254798,0.32109,0.677369,-0.661871,0,0.751372,-0.659879,0.738965,0.61998,0.263733,0.56195,0.490443,-0.666092,0.698538,0.25227,-0.669631,0.957431,0,0.288663,0.741519,0,-0.670932,0.698538,-0.25227,-0.669631,0.74203,-0.61927,0.256703,0.56195,-0.490443,-0.666092,0.32109,-0.677369,-0.661871,0.002712,-0.968581,0.248683,-0,-0.751372,-0.659879,-0.321089,-0.677369,-0.661871,-0.738965,-0.61998,0.263733,-0.56195,-0.490443,-0.666092,-0.698538,-0.25227,-0.66963,-0.957431,0,0.288664,-0.741519,-0,-0.670932,-0.698538,0.25227,-0.669631,-0.74203,0.61927,0.256704,-0.56195,0.490443,-0.666092,-0.32109,0.677369,-0.661871,0.200841,0.537312,0.819121,0.526844,0.230655,0.818067,0.526844,-0.230655,0.818067,0.193512,-0.54235,0.817563,-0.210212,-0.535322,0.818072,-0.526844,-0.230654,0.818067,-0.526844,0.230655,0.818067,-0.193513,0.54235,0.817563,-0,-0.957518,0.288374,-0,-0.648376,-0.76132,-0.27903,-0.588639,-0.758713,-0.495509,-0.432457,-0.753294,-0.736799,-0.609349,0.292952,-0.623329,-0.225109,-0.748857,-0.664545,-0,-0.747248,-0.947621,-0,0.319398,-0.623329,0.225109,-0.748857,-0.495509,0.432457,-0.753294,-0.735719,0.614006,0.285857,-0.279029,0.588639,-0.758714,-0,0.648376,-0.76132,0.003552,0.959794,0.280683,0.27903,0.588639,-0.758714,0.495509,0.432457,-0.753294,0.736799,0.609349,0.292952,0.623329,0.225109,-0.748857,0.664545,0,-0.747248,0.94762,-0,0.319399,0.623329,-0.225109,-0.748857,0.495509,-0.432457,-0.753294,0.735719,-0.614006,0.285857,0.27903,-0.588639,-0.758714,-0.184167,-0.492762,0.850452,-0.479719,-0.232362,0.846096,-0.479719,0.232362,0.846096,-0.194782,0.488955,0.850284,0.174746,0.497461,0.849704,0.479718,0.232362,0.846096,0.479719,-0.232361,0.846096,0.194782,-0.488955,0.850284,-0.156139,-0.643023,0.749761,0.402626,-0.097766,0.910129,-0,0,1,0.14496,-0.717482,0.681327,0.68004,-0.165128,0.714338,0.379238,-0.777339,0.501919,0.897284,-0.217879,0.383941,0.518676,-0.813821,0.26205,0.971667,-0.235941,-0.013977,0.566157,-0.824215,-0.011638,0.738324,-0.17928,-0.650182,0.217723,-0.797187,-0.563107,0.625137,-0.151796,-0.765612,0.561788,-0.169076,-0.80982,0.211931,-0.783549,-0.584068,0.289844,-0.127771,-0.948507,0.098507,-0.735112,-0.670751,0.173095,-0.06444,-0.982795,-0.005538,-0.710823,-0.703349,-0.511044,0.127308,-0.850074,-0.486846,0.641812,-0.592502,-0.423162,-0.446764,-0.788249,-0.715569,-0.696534,0.052919,-0.947148,0.231674,-0.221896,-0.554961,0.604764,-0.571208,-0.879863,-0.475228,1e-06,-0.909447,0.220832,0.352333,-0.971762,0.235963,0,-0.834136,-0.485331,0.262049,-0.718953,0.174576,0.672778,-0.441653,-0.671992,-0.594449,-0.718953,0.174576,-0.672778,-0.650453,-0.617488,-0.44229,-0.693496,-0.516857,0.501919,-0.402626,0.097766,0.910129,-0.457856,-0.571105,0.681328,-0.179079,-0.737493,-0.651179,-0.814296,-0.580227,0.016084,-0.778257,-0.583151,-0.232917,-0.626564,-0.674825,0.389908,-0.492206,-0.567919,0.659698,0.470343,-0.763253,-0.442971,-0.585033,-0.561918,0.584794,-0.446228,-0.661662,0.602565,-0.350667,-0.624275,0.698078,-0.126168,-0.938287,0.322024,0.487961,-0.861384,0.141111,0.466972,-0.884272,1e-06,0.424159,-0.875122,-0.232918,0.084295,-0.799704,-0.594448,0.294839,-0.847024,-0.44229,0.402315,-0.069579,0.912853,-0.909447,0.220832,-0.352334,0.951087,-0.224364,0.212356,-0.971762,0.235963,-0,0.971762,-0.235964,-0,-0.71845,0.220384,0.659743,0.909447,-0.220832,-0.352334,-0.382748,0.160273,0.909844,0.718953,-0.174576,-0.672778,-0.564213,0.177746,0.806269,0.402626,-0.097766,-0.910129,-0.316668,0.13681,0.938618,-0.402626,0.097766,-0.910129,0,-0,-1,-0.282985,0.100349,0.95386,-0.844306,-0.382484,0.375304,0.851579,0.505704,-0.138119,0.575685,0.339099,0.744042,0.03063,0.548339,0.835695,-0.400348,-0.349232,-0.847206,-0.49815,0.517891,0.695439,-0.838564,0.266092,0.475401,0.762699,-0.282996,-0.581553,-0.639827,-0.377346,-0.669501,-0.585513,-0.062203,-0.808273,0.697099,-0.092379,0.710998,0.731533,-0.549351,-0.403823,-0.600227,0.728086,-0.331086,0.82658,0.13923,0.545326,-0.579418,0.755638,-0.305426,-0.223736,-0.93825,-0.263873,-0.271789,-0.913772,-0.301912,0.145582,-0.705183,-0.693919,-0.543912,0.760254,-0.35521,-0.053865,0.56872,-0.820766,-0.277293,-0.942682,-0.185631,-0.5367,-1e-06,0.843773,0.976762,0.136479,-0.165253,0.833785,0.182426,0.521079,0.815725,0.134231,0.56265};
const GLfloat king_colors[] = {0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.8,0.761,0,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.553,0.349,0.106,0.737,0.482,0.133,0.741,0.486,0.133,0.502,0.0863,0.118,0.502,0.0863,0.118,0.502,0.0863,0.118,0.502,0.0863,0.118,0.847,0.145,0.2,0.502,0.0863,0.118,0.502,0.0863,0.118,0.553,0.349,0.106};
const GLubyte king_indices[] = {0,1,2,1,3,4,3,5,4,5,6,7,6,8,7,8,9,10,9,11,10,11,12,13,12,14,13,14,15,16,15,17,16,17,18,19,18,20,19,20,21,22,21,23,22,23,0,2,0,24,1,1,24,3,3,25,5,5,25,6,6,26,8,8,26,9,9,27,11,11,27,12,12,28,14,14,28,15,15,29,17,17,29,18,18,30,20,20,30,21,21,31,23,23,31,0,32,33,34,34,35,36,36,35,37,37,38,39,39,38,40,40,41,42,42,41,43,43,44,45,45,44,46,46,47,48,48,47,49,49,50,51,51,50,52,52,53,54,54,53,55,55,33,32,32,34,56,34,36,56,36,37,57,37,39,57,39,40,58,40,42,58,42,43,59,43,45,59,45,46,60,46,48,60,48,49,61,49,51,61,51,52,62,52,54,62,54,55,63,55,32,63,2,34,33,24,32,56,1,35,34,24,36,3,4,37,35,3,57,25,5,38,37,25,39,6,8,38,7,26,39,58,10,40,8,9,58,42,11,41,10,9,59,27,13,43,11,27,45,12,13,46,44,12,60,28,14,47,46,28,48,15,16,49,47,15,61,29,17,50,49,29,51,18,20,50,19,30,51,62,22,52,20,21,62,54,23,53,22,21,63,31,2,55,23,31,32,0,2,1,34,24,0,32,1,4,35,24,56,36,4,5,37,3,36,57,5,7,38,25,57,39,8,40,38,26,6,39,10,41,40,9,26,58,11,43,41,9,42,59,13,44,43,27,59,45,13,14,46,12,45,60,14,16,47,28,60,48,16,17,49,15,48,61,17,19,50,29,61,51,20,52,50,30,18,51,22,53,52,21,30,62,23,55,53,21,54,63,2,33,55,31,63,32,64,65,66,67,68,65,69,70,68,71,72,70,73,74,72,74,75,76,75,77,76,78,79,77,80,81,79,82,83,81,84,83,85,86,87,88,89,90,91,92,93,90,94,95,96,97,98,93,99,66,98,100,67,64,94,69,67,96,71,69,101,71,102,103,73,101,104,105,103,106,75,104,107,78,106,108,80,107,109,82,108,110,85,109,110,89,86,111,92,89,112,97,92,113,97,114,113,64,99,108,115,109,96,116,102,109,117,110,102,118,101,110,119,111,101,120,103,111,121,112,103,122,104,112,123,114,104,124,106,114,125,113,106,126,107,100,127,94,113,128,100,107,129,108,64,67,65,67,69,68,69,71,70,71,73,72,73,105,74,74,105,75,75,78,77,78,80,79,80,82,81,82,85,83,88,130,86,86,89,91,89,92,90,92,97,93,94,127,95,97,99,98,99,64,66,100,94,67,94,96,69,96,102,71,101,73,71,103,105,73,104,75,105,106,78,75,107,80,78,108,82,80,109,85,82,110,86,85,110,111,89,111,112,92,112,114,97,113,99,97,113,100,64,108,129,115,96,95,116,109,115,117,102,116,118,110,117,119,101,118,120,111,119,121,103,120,122,112,121,123,104,122,124,114,123,125,106,124,126,100,128,127,113,125,128,107,126,129,131,132,133,84,88,87,84,134,131,86,134,85,88,131,133,132,135,136,134,137,131,133,136,130,134,136,138,138,135,139,137,140,132,137,139,141,142,143,144,143,145,146,146,142,144,147,148,149,148,150,151,152,150,147,152,148,153,150,153,151,153,148,151,84,87,83,86,91,87,88,133,130,131,137,132,84,85,134,86,130,134,88,84,131,132,140,135,134,138,137,133,132,136,134,130,136,138,136,135,137,141,140,137,138,139,142,154,143,143,154,145,146,145,142,147,150,148,152,153,150,152,149,148};
const GLsizeiptr king_numind = 795;
const GLsizeiptr king_numvert = 155;
#endif