1 /* Copyright 1996, Viewpoint Datalabs Int'l, www.viewpoint.com, 1-800-DATASET */
3 # Usage Rights: You (the user) may use this model to help build
4 # cool personal vrml worlds, but please give us credit when you do
5 # ("3D model provided by Viewpoint Datalabs, www,viewpoint.com").
6 # Please don't sell it or use it to make money indirectly. Don't
7 # redistribute it or put it on a web site except as a part of your
8 # personal, non-commerical vrml world. If you want to do a
9 # commercial project, give us a call at 1-800-DATASET or visit
10 # www.viewpoint.com and we'll help you obtain the rights to do so.
14 * Note that this data was put directly into the program
15 * to provide a demo program on the net that people could
16 * just run without having to fetch datafiles.
17 * i.e. more convienent for the user this way
22 #pragma warning(disable : 4305)
23 #pragma warning(disable : 4136)
25 float rabbit_vertices[RABBIT_VERTEX_NUM][3]={
26 {-0.334392,0.133007,0.062259},
27 {-0.350189,0.150354,-0.147769},
28 {-0.234201,0.343811,-0.174307},
29 {-0.200259,0.285207,0.093749},
30 {0.003520,0.475208,-0.159365},
31 {0.001856,0.419203,0.098582},
32 {-0.252802,0.093666,0.237538},
33 {-0.162901,0.237984,0.206905},
34 {0.000865,0.318141,0.235370},
35 {-0.414624,0.164083,-0.278254},
36 {-0.262213,0.357334,-0.293246},
37 {0.004628,0.482694,-0.338626},
38 {-0.402162,0.133528,-0.443247},
39 {-0.243781,0.324275,-0.436763},
40 {0.005293,0.437592,-0.458332},
41 {-0.339884,-0.041150,-0.668211},
42 {-0.248382,0.255825,-0.627493},
43 {0.006261,0.376103,-0.631506},
44 {-0.216201,-0.126776,-0.886936},
45 {-0.171075,0.011544,-0.881386},
46 {-0.181074,0.098223,-0.814779},
47 {-0.119891,0.218786,-0.760153},
48 {-0.078895,0.276780,-0.739281},
49 {0.006801,0.310959,-0.735661},
50 {-0.168842,0.102387,-0.920381},
51 {-0.104072,0.177278,-0.952530},
52 {-0.129704,0.211848,-0.836678},
53 {-0.099875,0.310931,-0.799381},
54 {0.007237,0.361687,-0.794439},
55 {-0.077913,0.258753,-0.921640},
56 {0.007957,0.282241,-0.931680},
57 {-0.252222,-0.550401,-0.557810},
58 {-0.267633,-0.603419,-0.655209},
59 {-0.446838,-0.118517,-0.466159},
60 {-0.459488,-0.093017,-0.311341},
61 {-0.370645,-0.100108,-0.159454},
62 {-0.371984,-0.091991,-0.011044},
63 {-0.328945,-0.098269,0.088659},
64 {-0.282452,-0.018862,0.311501},
65 {-0.352403,-0.131341,0.144902},
66 {-0.364126,-0.200299,0.202388},
67 {-0.283965,-0.231869,0.023668},
68 {-0.298943,-0.155218,0.369716},
69 {-0.293787,-0.121856,0.419097},
70 {-0.290163,-0.290797,0.107824},
71 {-0.264165,-0.272849,0.036347},
72 {-0.228567,-0.372573,0.290309},
73 {-0.190431,-0.286997,0.421917},
74 {-0.191039,-0.240973,0.507118},
75 {-0.287272,-0.276431,-0.065444},
76 {-0.295675,-0.280818,-0.174200},
77 {-0.399537,-0.313131,-0.376167},
78 {-0.392666,-0.488581,-0.427494},
79 {-0.331669,-0.570185,-0.466054},
80 {-0.282290,-0.618140,-0.589220},
81 {-0.374238,-0.594882,-0.323298},
82 {-0.381071,-0.629723,-0.350777},
83 {-0.382112,-0.624060,-0.221577},
84 {-0.272701,-0.566522,0.259157},
85 {-0.256702,-0.663406,0.286079},
86 {-0.280948,-0.428359,0.055790},
87 {-0.184974,-0.508894,0.326265},
88 {-0.279971,-0.526918,0.395319},
89 {-0.282599,-0.663393,0.412411},
90 {-0.188329,-0.475093,0.417954},
91 {-0.263384,-0.663396,0.466604},
92 {-0.209063,-0.663393,0.509344},
93 {-0.002044,-0.319624,0.553078},
94 {-0.001266,-0.371260,0.413296},
95 {-0.219753,-0.339762,-0.040921},
96 {-0.256986,-0.282511,-0.006349},
97 {-0.271706,-0.260881,0.001764},
98 {-0.091191,-0.419184,-0.045912},
99 {-0.114944,-0.429752,-0.124739},
100 {-0.113970,-0.382987,-0.188540},
101 {-0.243012,-0.464942,-0.242850},
102 {-0.314815,-0.505402,-0.324768},
103 {0.002774,-0.437526,-0.262766},
104 {-0.072625,-0.417748,-0.221440},
105 {-0.160112,-0.476932,-0.293450},
106 {0.003859,-0.453425,-0.443916},
107 {-0.120363,-0.581567,-0.438689},
108 {-0.091499,-0.584191,-0.294511},
109 {-0.116469,-0.599861,-0.188308},
110 {-0.208032,-0.513640,-0.134649},
111 {-0.235749,-0.610017,-0.040939},
112 {-0.344916,-0.622487,-0.085380},
113 {-0.336401,-0.531864,-0.212298},
114 {0.001961,-0.459550,-0.135547},
115 {-0.058296,-0.430536,-0.043440},
116 {0.001378,-0.449511,-0.037762},
117 {-0.130135,-0.510222,0.079144},
118 {0.000142,-0.477549,0.157064},
119 {-0.114284,-0.453206,0.304397},
120 {-0.000592,-0.443558,0.285401},
121 {-0.056215,-0.663402,0.326073},
122 {-0.026248,-0.568010,0.273318},
123 {-0.049261,-0.531064,0.389854},
124 {-0.127096,-0.663398,0.479316},
125 {-0.058384,-0.663401,0.372891},
126 {-0.303961,0.054199,0.625921},
127 {-0.268594,0.193403,0.502766},
128 {-0.277159,0.126123,0.443289},
129 {-0.287605,-0.005722,0.531844},
130 {-0.231396,-0.121289,0.587387},
131 {-0.253475,-0.081797,0.756541},
132 {-0.195164,-0.137969,0.728011},
133 {-0.167673,-0.156573,0.609388},
134 {-0.145917,-0.169029,0.697600},
135 {-0.077776,-0.214247,0.622586},
136 {-0.076873,-0.214971,0.696301},
137 {-0.002341,-0.233135,0.622859},
138 {-0.002730,-0.213526,0.691267},
139 {-0.003136,-0.192628,0.762731},
140 {-0.056136,-0.201222,0.763806},
141 {-0.114589,-0.166192,0.770723},
142 {-0.155145,-0.129632,0.791738},
143 {-0.183611,-0.058705,0.847012},
144 {-0.165562,0.001980,0.833386},
145 {-0.220084,0.019914,0.768935},
146 {-0.255730,0.090306,0.670782},
147 {-0.255594,0.113833,0.663389},
148 {-0.226380,0.212655,0.617740},
149 {-0.003367,-0.195342,0.799680},
150 {-0.029743,-0.210508,0.827180},
151 {-0.003818,-0.194783,0.873636},
152 {-0.004116,-0.157907,0.931268},
153 {-0.031280,-0.184555,0.889476},
154 {-0.059885,-0.184448,0.841330},
155 {-0.135333,-0.164332,0.878200},
156 {-0.085574,-0.170948,0.925547},
157 {-0.163833,-0.094170,0.897114},
158 {-0.138444,-0.104250,0.945975},
159 {-0.083497,-0.084934,0.979607},
160 {-0.004433,-0.146642,0.985872},
161 {-0.150715,0.032650,0.884111},
162 {-0.135892,-0.035520,0.945455},
163 {-0.070612,0.036849,0.975733},
164 {-0.004458,-0.042526,1.015670},
165 {-0.004249,0.046042,1.003240},
166 {-0.086969,0.133224,0.947633},
167 {-0.003873,0.161605,0.970499},
168 {-0.125544,0.140012,0.917678},
169 {-0.125651,0.250246,0.857602},
170 {-0.003127,0.284070,0.878870},
171 {-0.159174,0.125726,0.888878},
172 {-0.183807,0.196970,0.844480},
173 {-0.159890,0.291736,0.732480},
174 {-0.199495,0.207230,0.779864},
175 {-0.206182,0.164608,0.693257},
176 {-0.186315,0.160689,0.817193},
177 {-0.192827,0.166706,0.782271},
178 {-0.175112,0.110008,0.860621},
179 {-0.161022,0.057420,0.855111},
180 {-0.172319,0.036155,0.816189},
181 {-0.190318,0.064083,0.760605},
182 {-0.195072,0.129179,0.731104},
183 {-0.203126,0.410287,0.680536},
184 {-0.216677,0.309274,0.642272},
185 {-0.241515,0.311485,0.587832},
186 {-0.002209,0.366663,0.749413},
187 {-0.088230,0.396265,0.678635},
188 {-0.170147,0.109517,0.840784},
189 {-0.160521,0.067766,0.830650},
190 {-0.181546,0.139805,0.812146},
191 {-0.180495,0.148568,0.776087},
192 {-0.180255,0.129125,0.744192},
193 {-0.186298,0.078308,0.769352},
194 {-0.167622,0.060539,0.806675},
195 {-0.189876,0.102760,0.802582},
196 {-0.108340,0.455446,0.657174},
197 {-0.241585,0.527592,0.669296},
198 {-0.265676,0.513366,0.634594},
199 {-0.203073,0.478550,0.581526},
200 {-0.266772,0.642330,0.602061},
201 {-0.216961,0.564846,0.535435},
202 {-0.202210,0.525495,0.475944},
203 {-0.193888,0.467925,0.520606},
204 {-0.265837,0.757267,0.500933},
205 {-0.240306,0.653440,0.463215},
206 {-0.309239,0.776868,0.304726},
207 {-0.271009,0.683094,0.382018},
208 {-0.312111,0.671099,0.286687},
209 {-0.268791,0.624342,0.377231},
210 {-0.302457,0.533996,0.360289},
211 {-0.263656,0.529310,0.412564},
212 {-0.282311,0.415167,0.447666},
213 {-0.239201,0.442096,0.495604},
214 {-0.220043,0.569026,0.445877},
215 {-0.001263,0.395631,0.602029},
216 {-0.057345,0.442535,0.572224},
217 {-0.088927,0.506333,0.529106},
218 {-0.125738,0.535076,0.612913},
219 {-0.126251,0.577170,0.483159},
220 {-0.149594,0.611520,0.557731},
221 {-0.163188,0.660791,0.491080},
222 {-0.172482,0.663387,0.415416},
223 {-0.160464,0.591710,0.370659},
224 {-0.156445,0.536396,0.378302},
225 {-0.136496,0.444358,0.425226},
226 {-0.095564,0.373768,0.473659},
227 {-0.104146,0.315912,0.498104},
228 {-0.000496,0.384194,0.473817},
229 {-0.000183,0.297770,0.401486},
230 {-0.129042,0.270145,0.434495},
231 {0.000100,0.272963,0.349138},
232 {-0.113060,0.236984,0.385554},
233 {0.007260,0.016311,-0.883396},
234 {0.007865,0.122104,-0.956137},
235 {-0.032842,0.115282,-0.953252},
236 {-0.089115,0.108449,-0.950317},
237 {-0.047440,0.014729,-0.882756},
238 {-0.104458,0.013137,-0.882070},
239 {-0.086439,-0.584866,-0.608343},
240 {-0.115026,-0.662605,-0.436732},
241 {-0.071683,-0.665372,-0.606385},
242 {-0.257884,-0.665381,-0.658052},
243 {-0.272542,-0.665381,-0.592063},
244 {-0.371322,-0.665382,-0.353620},
245 {-0.372362,-0.665381,-0.224420},
246 {-0.335166,-0.665380,-0.078623},
247 {-0.225999,-0.665375,-0.038981},
248 {-0.106719,-0.665374,-0.186351},
249 {-0.081749,-0.665372,-0.292554},
250 {0.006943,-0.091505,-0.858354},
251 {0.006117,-0.280985,-0.769967},
252 {0.004495,-0.502360,-0.559799},
253 {-0.198638,-0.302135,-0.845816},
254 {-0.237395,-0.542544,-0.587188},
255 {-0.270001,-0.279489,-0.669861},
256 {-0.134547,-0.119852,-0.959004},
257 {-0.052088,-0.122463,-0.944549},
258 {-0.124463,-0.293508,-0.899566},
259 {-0.047616,-0.289643,-0.879292},
260 {-0.168595,-0.529132,-0.654931},
261 {-0.099793,-0.515719,-0.645873},
262 {-0.186168,-0.605282,-0.724690},
263 {-0.112970,-0.583097,-0.707469},
264 {-0.108152,-0.665375,-0.700408},
265 {-0.183019,-0.665378,-0.717630},
266 {-0.349529,-0.334459,-0.511985},
267 {-0.141182,-0.437705,-0.798194},
268 {-0.212670,-0.448725,-0.737447},
269 {-0.261111,-0.414945,-0.613835},
270 {-0.077364,-0.431480,-0.778113},
271 {0.005174,-0.425277,-0.651592},
272 {0.089236,-0.431732,-0.777093},
273 {0.271006,-0.415749,-0.610577},
274 {0.223981,-0.449384,-0.734774},
275 {0.153275,-0.438150,-0.796391},
276 {0.358414,-0.335529,-0.507649},
277 {0.193434,-0.665946,-0.715325},
278 {0.118363,-0.665717,-0.699021},
279 {0.123515,-0.583454,-0.706020},
280 {0.196851,-0.605860,-0.722345},
281 {0.109788,-0.516035,-0.644590},
282 {0.178656,-0.529656,-0.652804},
283 {0.061157,-0.289807,-0.878626},
284 {0.138234,-0.293905,-0.897958},
285 {0.066933,-0.122643,-0.943820},
286 {0.149571,-0.120281,-0.957264},
287 {0.280989,-0.280321,-0.666487},
288 {0.246581,-0.543275,-0.584224},
289 {0.211720,-0.302754,-0.843303},
290 {0.086966,-0.665627,-0.291520},
291 {0.110634,-0.665702,-0.185021},
292 {0.228099,-0.666061,-0.036201},
293 {0.337743,-0.666396,-0.074503},
294 {0.376722,-0.666513,-0.219833},
295 {0.377265,-0.666513,-0.349036},
296 {0.281411,-0.666217,-0.588670},
297 {0.267564,-0.666174,-0.654834},
298 {0.080745,-0.665602,-0.605452},
299 {0.122016,-0.662963,-0.435280},
300 {0.095767,-0.585141,-0.607228},
301 {0.118944,0.012799,-0.880702},
302 {0.061944,0.014564,-0.882086},
303 {0.104725,0.108156,-0.949130},
304 {0.048513,0.115159,-0.952753},
305 {0.112696,0.236643,0.386937},
306 {0.128177,0.269757,0.436071},
307 {0.102643,0.315600,0.499370},
308 {0.094535,0.373481,0.474824},
309 {0.136270,0.443946,0.426895},
310 {0.157071,0.535923,0.380222},
311 {0.161350,0.591224,0.372630},
312 {0.173035,0.662865,0.417531},
313 {0.162808,0.660299,0.493077},
314 {0.148250,0.611070,0.559555},
315 {0.125719,0.576790,0.484702},
316 {0.123489,0.534699,0.614440},
317 {0.087621,0.506066,0.530188},
318 {0.055321,0.442365,0.572915},
319 {0.219936,0.568361,0.448571},
320 {0.238099,0.441375,0.498528},
321 {0.281711,0.414315,0.451121},
322 {0.263833,0.528513,0.415794},
323 {0.303284,0.533081,0.363998},
324 {0.269687,0.623528,0.380528},
325 {0.314255,0.670153,0.290524},
326 {0.272023,0.682273,0.385343},
327 {0.311480,0.775931,0.308527},
328 {0.240239,0.652714,0.466159},
329 {0.265619,0.756464,0.504187},
330 {0.192562,0.467341,0.522972},
331 {0.201605,0.524885,0.478417},
332 {0.215743,0.564193,0.538084},
333 {0.264969,0.641527,0.605317},
334 {0.201031,0.477940,0.584002},
335 {0.263086,0.512567,0.637832},
336 {0.238615,0.526867,0.672237},
337 {0.105309,0.455123,0.658482},
338 {0.183993,0.102195,0.804872},
339 {0.161563,0.060042,0.808692},
340 {0.180748,0.077754,0.771600},
341 {0.175168,0.128588,0.746368},
342 {0.175075,0.148030,0.778264},
343 {0.175658,0.139265,0.814333},
344 {0.154191,0.067291,0.832578},
345 {0.163818,0.109013,0.842830},
346 {0.084760,0.396004,0.679695},
347 {0.238888,0.310760,0.590775},
348 {0.213380,0.308625,0.644905},
349 {0.199666,0.409678,0.683003},
350 {0.190143,0.128597,0.733463},
351 {0.184833,0.063516,0.762902},
352 {0.166070,0.035644,0.818261},
353 {0.154361,0.056943,0.857042},
354 {0.168542,0.109489,0.862725},
355 {0.187387,0.166131,0.784599},
356 {0.180428,0.160135,0.819438},
357 {0.201823,0.163991,0.695756},
358 {0.194206,0.206635,0.782275},
359 {0.155438,0.291260,0.734412},
360 {0.177696,0.196424,0.846693},
361 {0.152305,0.125256,0.890786},
362 {0.119546,0.249876,0.859104},
363 {0.118369,0.139643,0.919173},
364 {0.079410,0.132973,0.948652},
365 {0.062419,0.036648,0.976547},
366 {0.127847,-0.035919,0.947070},
367 {0.143624,0.032206,0.885913},
368 {0.074888,-0.085173,0.980577},
369 {0.130184,-0.104656,0.947620},
370 {0.156201,-0.094653,0.899074},
371 {0.077366,-0.171194,0.926545},
372 {0.127722,-0.164729,0.879810},
373 {0.052670,-0.184618,0.842019},
374 {0.023477,-0.184638,0.889811},
375 {0.022626,-0.210587,0.827500},
376 {0.223089,0.211976,0.620493},
377 {0.251444,0.113067,0.666494},
378 {0.251419,0.089540,0.673887},
379 {0.214360,0.019258,0.771595},
380 {0.158999,0.001490,0.835374},
381 {0.176696,-0.059249,0.849218},
382 {0.148696,-0.130091,0.793599},
383 {0.108290,-0.166528,0.772088},
384 {0.049820,-0.201382,0.764454},
385 {0.071341,-0.215195,0.697209},
386 {0.073148,-0.214475,0.623510},
387 {0.140502,-0.169461,0.699354},
388 {0.163374,-0.157073,0.611416},
389 {0.189466,-0.138550,0.730366},
390 {0.247593,-0.082554,0.759610},
391 {0.227468,-0.121982,0.590197},
392 {0.284702,-0.006586,0.535347},
393 {0.275741,0.125287,0.446676},
394 {0.266650,0.192594,0.506044},
395 {0.300086,0.053287,0.629620},
396 {0.055450,-0.663935,0.375065},
397 {0.122854,-0.664138,0.482323},
398 {0.046520,-0.531571,0.391918},
399 {0.024824,-0.568450,0.275106},
400 {0.053855,-0.663931,0.328224},
401 {0.112829,-0.453549,0.305788},
402 {0.131265,-0.510617,0.080746},
403 {0.061174,-0.430716,-0.042710},
404 {0.341019,-0.532887,-0.208150},
405 {0.347705,-0.623533,-0.081139},
406 {0.238040,-0.610732,-0.038037},
407 {0.211764,-0.514274,-0.132078},
408 {0.120605,-0.600219,-0.186856},
409 {0.096985,-0.584476,-0.293357},
410 {0.127621,-0.581941,-0.437170},
411 {0.165902,-0.477425,-0.291453},
412 {0.077720,-0.417975,-0.220519},
413 {0.320892,-0.506363,-0.320874},
414 {0.248214,-0.465684,-0.239842},
415 {0.118764,-0.383338,-0.187114},
416 {0.118816,-0.430106,-0.123307},
417 {0.094131,-0.419464,-0.044777},
418 {0.274526,-0.261706,0.005110},
419 {0.259842,-0.283292,-0.003185},
420 {0.222861,-0.340431,-0.038210},
421 {0.204445,-0.664380,0.513353},
422 {0.259286,-0.664547,0.471281},
423 {0.185402,-0.476020,0.421718},
424 {0.279163,-0.664604,0.417328},
425 {0.277157,-0.528122,0.400208},
426 {0.183069,-0.509812,0.329995},
427 {0.282599,-0.429210,0.059242},
428 {0.254816,-0.664541,0.290687},
429 {0.271436,-0.567707,0.263966},
430 {0.386561,-0.625221,-0.216870},
431 {0.387086,-0.630883,-0.346073},
432 {0.380021,-0.596021,-0.318679},
433 {0.291269,-0.619007,-0.585707},
434 {0.339280,-0.571198,-0.461946},
435 {0.400045,-0.489778,-0.422640},
436 {0.406817,-0.314349,-0.371230},
437 {0.300588,-0.281718,-0.170549},
438 {0.290866,-0.277304,-0.061905},
439 {0.187735,-0.241545,0.509437},
440 {0.188032,-0.287569,0.424234},
441 {0.227520,-0.373262,0.293102},
442 {0.266526,-0.273650,0.039597},
443 {0.291592,-0.291676,0.111386},
444 {0.291914,-0.122741,0.422683},
445 {0.297574,-0.156119,0.373368},
446 {0.286603,-0.232731,0.027162},
447 {0.364663,-0.201399,0.206850},
448 {0.353855,-0.132408,0.149228},
449 {0.282208,-0.019715,0.314960},
450 {0.331187,-0.099266,0.092701},
451 {0.375463,-0.093120,-0.006467},
452 {0.375917,-0.101236,-0.154882},
453 {0.466635,-0.094416,-0.305669},
454 {0.455805,-0.119881,-0.460632},
455 {0.277465,-0.604242,-0.651871},
456 {0.261022,-0.551176,-0.554667},
457 {0.093627,0.258494,-0.920589},
458 {0.114248,0.310608,-0.798070},
459 {0.144232,0.211434,-0.835001},
460 {0.119916,0.176940,-0.951159},
461 {0.184061,0.101854,-0.918220},
462 {0.092431,0.276521,-0.738231},
463 {0.133504,0.218403,-0.758602},
464 {0.194987,0.097655,-0.812476},
465 {0.185542,0.011005,-0.879202},
466 {0.230315,-0.127450,-0.884202},
467 {0.260471,0.255056,-0.624378},
468 {0.351567,-0.042194,-0.663976},
469 {0.253742,0.323524,-0.433716},
470 {0.411612,0.132299,-0.438264},
471 {0.270513,0.356530,-0.289984},
472 {0.422146,0.162819,-0.273130},
473 {0.164724,0.237490,0.208912},
474 {0.253806,0.092900,0.240640},
475 {0.203608,0.284597,0.096223},
476 {0.241006,0.343093,-0.171396},
477 {0.356076,0.149288,-0.143443},
478 {0.337656,0.131992,0.066374}
480 int rabbit_triangles[RABBIT_TRIANGLE_NUM][3]={