]> git.leopard-lacewing.eu Git - cgue_weave.git/commitdiff
convex Boar Mesh
authorPeter Schaefer <schaeferpm@gmail.com>
Sun, 19 Jun 2016 21:29:56 +0000 (23:29 +0200)
committerPeter Schaefer <schaeferpm@gmail.com>
Sun, 19 Jun 2016 21:29:56 +0000 (23:29 +0200)
Weave/Scene/Boar.cpp
models/boar_col.dae [new file with mode: 0644]

index d638c122d3e90fceb25b618aa863cbe3505a22f2..68dff6db1a4853c74f8f8ee8c9e12e06badf4f65 100644 (file)
@@ -23,10 +23,24 @@ void Boar::update(float _deltaT)
 
 void Boar::collides(SceneObject * _other, btPersistentManifold * _contactManifold, float _deltaT)
 {
-       if (_other->collide_group == COL_MARVIN)
-       {
-               Message::info("Spiel Verloren!");
+       if (_other->collide_group != COL_MARVIN)
+               return;
+
+       int numContacts = _contactManifold->getNumContacts();
+       //For each contact point in that manifold
+       double pdist = _contactManifold->getContactPoint(0).getDistance();
+       for (int j = 0; j < numContacts; j++) {
+               //Get the contact information
+               btManifoldPoint& pt = _contactManifold->getContactPoint(j);
+               btVector3 ptA = pt.getPositionWorldOnA();
+               pdist = min((double)pt.getDistance(), pdist);
+       }
+
+       if (pdist >= -.5f)
+               return;
+
+               Message::info("Spiel Verloren!->" + std::to_string(pdist));
                //Events::halt = true;
                _other->movable = false;
-       }
+       
 }
diff --git a/models/boar_col.dae b/models/boar_col.dae
new file mode 100644 (file)
index 0000000..a6ed2a1
--- /dev/null
@@ -0,0 +1,121 @@
+<?xml version="1.0" encoding="utf-8"?>
+<COLLADA xmlns="http://www.collada.org/2005/11/COLLADASchema" version="1.4.1">
+  <asset>
+    <contributor>
+      <author>Blender User</author>
+      <authoring_tool>Blender 2.76.0 commit date:2015-11-03, commit time:10:56, hash:f337fea</authoring_tool>
+    </contributor>
+    <created>2016-06-19T23:17:12</created>
+    <modified>2016-06-19T23:17:12</modified>
+    <unit name="meter" meter="1"/>
+    <up_axis>Z_UP</up_axis>
+  </asset>
+  <library_images/>
+  <library_effects>
+    <effect id="Material-effect">
+      <profile_COMMON>
+        <technique sid="common">
+          <phong>
+            <emission>
+              <color sid="emission">0 0 0 1</color>
+            </emission>
+            <ambient>
+              <color sid="ambient">0 0 0 1</color>
+            </ambient>
+            <diffuse>
+              <color sid="diffuse">0.64 0.64 0.64 1</color>
+            </diffuse>
+            <specular>
+              <color sid="specular">0.5 0.5 0.5 1</color>
+            </specular>
+            <shininess>
+              <float sid="shininess">50</float>
+            </shininess>
+            <index_of_refraction>
+              <float sid="index_of_refraction">1</float>
+            </index_of_refraction>
+          </phong>
+        </technique>
+      </profile_COMMON>
+    </effect>
+  </library_effects>
+  <library_materials>
+    <material id="Material-material" name="Material">
+      <instance_effect url="#Material-effect"/>
+    </material>
+  </library_materials>
+  <library_geometries>
+    <geometry id="Cube-mesh" name="Cube">
+      <mesh>
+        <source id="Cube-mesh-positions">
+          <float_array id="Cube-mesh-positions-array" count="195">0.8417034 0.5754626 0.6722543 0.2534732 0.2443908 1.347144 0.474795 0.6088197 0.441968 0.8187453 0.2675727 1.370948 0.4658211 0.5189056 0.9330621 1.195976 0.4497392 0.7658862 0.7528822 0.4688515 0.1481006 0.7476375 0.3758286 -0.1927671 0.6480063 0.3941453 -0.1918747 -0.7070858 0.4819561 0.9047154 -0.4291887 0.3356843 1.259018 -0.5775802 0.229392 1.165879 -0.436578 0.5244485 0.7279297 -0.7798123 0.4174137 0.5149188 -0.7266209 0.5069241 0.4953739 -0.6243 0.5147565 0.4318884 -0.7602629 0.3968264 0.08375477 -0.7235261 0.4502286 0.08664786 -0.6339262 0.4773367 0.05476713 0.3806612 0.3822814 1.230505 1.757701 0.07893365 0.5781891 1.853967 0.0741716 0.7192815 1.790408 0.1044282 0.6330326 1.8251 0.1111482 0.6852422 1.811169 0.1523331 0.7938764 1.800453 0.1624475 0.7871046 1.482341 0.2585448 1.361411 1.489763 0.2038558 1.373047 0.8417034 -0.5933561 0.6722543 0.2534732 -0.2622842 1.347144 0.474795 -0.6267132 0.441968 0.8187453 -0.285466 1.370948 0.4658211 -0.536799 0.9330621 -0.2809714 -0.008946657 1.418769 1.195976 -0.4676325 0.7658862 0.713696 -0.008946657 1.455418 0.7528822 -0.4867449 0.1481006 0.7476375 -0.3937221 -0.1927671 0.6480063 -0.4120386 -0.1918747 -0.7272068 -0.008946657 0.9543725 -0.7070858 -0.4998495 0.9047154 -0.4291887 -0.3535777 1.259018 -0.5669835 -0.008946657 1.248604 -0.7054629 -0.008946657 1.087877 -0.5775802 -0.2472854 1.165879 -0.6666405 -0.008946657 1.186428 -0.436578 -0.5423418 0.7279297 -0.7798123 -0.4353072 0.5149188 -0.7266209 -0.5248175 0.4953739 -0.6243 -0.5326499 0.4318884 -0.7602629 -0.4147198 0.08375477 -0.7235261 -0.468122 0.08664786 -0.6339262 -0.4952301 0.05476713 0.3806612 -0.4001748 1.230505 1.802296 -0.008946657 0.6380862 1.748455 -0.008946657 0.5684151 1.757701 -0.09682703 0.5781891 1.853967 -0.09206503 0.7192815 1.85977 -0.008946657 0.7394703 1.790408 -0.1223217 0.6330326 1.8251 -0.1290416 0.6852422 1.811169 -0.1702266 0.7938764 1.800453 -0.1803409 0.7871046 1.482341 -0.2764381 1.361411 1.489763 -0.2217492 1.373047</float_array>
+          <technique_common>
+            <accessor source="#Cube-mesh-positions-array" count="65" stride="3">
+              <param name="X" type="float"/>
+              <param name="Y" type="float"/>
+              <param name="Z" type="float"/>
+            </accessor>
+          </technique_common>
+        </source>
+        <source id="Cube-mesh-normals">
+          <float_array id="Cube-mesh-normals-array" count="378">-0.6300322 0.2294899 0.7418854 -0.8187434 0.5678381 -0.08496582 -0.3163207 0.9447761 -0.08567088 -0.5109013 -0.2615158 0.8188953 -0.8187432 -0.5678384 -0.0849657 -0.316321 -0.9447759 -0.085671 -0.9989737 0 -0.04529434 -0.03811645 0.9121559 0.4080672 -0.03535646 -0.9826463 0.1820885 0.0503664 -0.9020206 0.428745 -0.1127032 -0.9914442 0.06585216 -0.8503929 -0.5211472 0.07237118 -0.4025373 -0.3233127 -0.8564068 0.231137 0.9450078 -0.2313788 -2.67527e-4 -0.9471288 -0.3208537 -0.02333563 -0.9834567 0.1796339 -0.08513176 0.9962671 -0.01429873 -0.08320736 0.9961185 0.0287131 -0.03473585 0.9831678 0.1793727 0.3812415 0.8911815 -0.2458672 0.4252828 0.9010799 0.08479166 0.2915985 0.9426503 0.1624213 0.7289535 -0.6658532 -0.1589539 -0.03858613 -0.9126005 0.4070275 0.8375297 -0.05444741 -0.5436723 0.8116568 0.1644837 -0.5604984 0.8436546 0 -0.5368865 0.961081 0 -0.2762668 0.9178447 -0.1530452 0.366249 0.8736044 -0.1028068 0.4756534 0.6009462 0.7729402 0.2035367 0.6009458 -0.7729406 0.2035364 0.0194838 -0.8032664 0.5953012 -0.01929515 -0.7440226 0.6678759 -0.6638156 -0.3455079 0.6633047 -0.05588603 -0.444917 0.8938264 -0.06519776 -0.3964444 0.9157407 -0.5033528 -0.1756916 0.846031 -0.9222078 -0.1324975 0.3632866 -0.9829661 -0.06138592 0.173233 -0.6932002 -0.3149265 0.6483015 -0.9929113 0 0.118858 -0.1889333 0 -0.9819899 -0.9860448 -0.04386818 0.1605973 -0.4025366 0.3233123 -0.8564073 -0.03535652 0.9826462 0.1820893 -0.2236363 0 -0.9746727 0.05036634 0.9020206 0.428745 0.0958566 0.9351822 0.3409483 -0.8503932 0.5211468 0.07237118 -0.1127032 0.9914442 0.06585246 0.1997602 -0.9444924 -0.2608255 0.1715401 -0.9464064 -0.2736589 0.01948386 0.8032667 0.5953009 0.01690912 -0.2102763 0.9774957 0.6109585 -0.02372652 -0.791307 0.9178451 0.1530448 0.3662482 0.8277986 0.5515027 -0.1029294 0.8375295 0.05444741 -0.5436725 0.6109716 -0.5130894 -0.6028707 0.5419524 -0.7089152 -0.4513611 0.1055461 0 0.9944145 -0.03507649 -0.3041334 0.9519835 0.456986 -0.833926 -0.3094046 0.4215694 -0.8675032 -0.2640408 -0.03507649 0.3041332 0.9519835 -0.05437874 -0.3762203 0.9249331 0.38482 -0.8889091 -0.2485042 0.3812415 -0.8911815 -0.2458673 -0.5033528 0.1756916 0.8460311 -0.9222081 0.1324971 0.3632862 -0.03473585 -0.9831677 0.179373 -0.08320742 -0.9961186 0.02871268 -0.6932002 0.3149265 0.6483016 -0.05437874 0.3762204 0.9249332 -0.08513176 -0.9962671 -0.01429706 0.01690948 0.2102761 0.9774958 -0.06519776 0.3964444 0.9157407 -0.9829661 0.06138592 0.173233 -0.008956491 0 -0.99996 -0.9860448 0.04386848 0.1605973 -0.6638156 0.3455079 0.6633048 0.1715404 0.9464063 -0.2736586 -0.0558862 0.4449169 0.8938264 -0.01929515 0.7440227 0.6678758 0.1997602 0.9444924 -0.2608258 0.3848199 0.8889092 -0.248504 0.4215692 0.8675032 -0.2640408 0.456986 0.8339261 -0.3094046 0.5419528 0.7089158 -0.4513598 0.6109715 0.5130892 -0.602871 0.6109584 0.02372658 -0.7913072 0.726441 0 -0.6872288 0.802106 0 -0.5971818 -0.0839982 0.9918049 -0.09626752 0.8116567 -0.1644835 -0.5604985 0.8489227 0.07956802 0.5224933 0.4252828 -0.9010799 0.08479171 0.2915986 -0.9426503 0.1624215 0.09585654 -0.9351822 0.3409483 -0.5109029 0.2615154 0.8188944 -0.8639404 0.4996343 -0.06302845 -0.1597257 0.977634 -0.1368197 -0.6300333 -0.2294896 0.7418846 -0.8639403 -0.4996345 -0.06302845 -0.1597257 -0.977634 -0.1368195 -0.9989737 0 -0.04529434 -0.03858619 0.9126007 0.4070272 -0.02333557 0.9834567 0.179634 -0.08399826 -0.991805 -0.09626692 0.231137 -0.9450078 -0.2313788 0.8277976 -0.5515043 -0.1029293 -0.03811657 -0.9121558 0.4080673 0.8015903 -0.0804165 -0.5924409 0.8619743 0.2146947 0.4592458 0.8619745 -0.2146949 0.4592453 -0.1889334 0 -0.98199 -0.2236363 0 -0.9746727 0.0239436 -0.2837341 0.9586041 0.6053659 0 -0.7959473 0.7289535 0.6658532 -0.158954 0.8015903 0.0804165 -0.5924409 0.02394318 0.283734 0.9586041 -0.008956491 0 -0.99996 -2.67527e-4 0.9471288 -0.3208535 0.8743853 0 0.4852322</float_array>
+          <technique_common>
+            <accessor source="#Cube-mesh-normals-array" count="126" stride="3">
+              <param name="X" type="float"/>
+              <param name="Y" type="float"/>
+              <param name="Z" type="float"/>
+            </accessor>
+          </technique_common>
+        </source>
+        <source id="Cube-mesh-map-0">
+          <float_array id="Cube-mesh-map-0-array" count="756">0.7300738 0.5976037 0.8018881 0.5869409 0.7817496 0.616733 0.8414618 0.7755994 0.8262962 0.8667582 0.8155391 0.8696271 0.1548295 0.03000104 0.07599359 0.01992857 0.08581602 0 0.7300738 0.5976037 0.7321159 0.6175277 0.6778163 0.616733 0.6385921 0.8696271 0.626062 0.8667582 0.6165043 0.7755994 0.4024014 0.5851207 0.3959451 0.5640614 0.479022 0.5629673 0.6374627 0.774449 0.8233872 0.7744489 0.8155391 0.8696271 0.3359479 0.09277945 0.3116049 0.2787995 0.2401435 0.2918783 0.5821585 0.5841549 0.5446513 0.5205742 0.5925459 0.3125986 0 0 0.6562802 0.3344725 0.5925459 0.3125986 0.6241983 0.6829342 0.6165043 0.7755994 0.5446513 0.5205742 0.6241983 0.6829342 0.6374627 0.774449 0.6165043 0.7755994 0.626062 0.8667582 0.6385921 0.8696271 0.8057641 0.9075134 0 0 0 0 0.1308512 0.2834188 0.3959451 0.5640614 0.3453039 0.2671667 0.4856724 0.3079814 0 0 0.5925459 0.3125986 0 0 0.1548295 0.03000104 0.1708067 0.007762432 0 0 0.1708067 0.007762432 0 0 0 0 0 0 0.2401435 0.2918783 0.1308512 0.2834188 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3367578 0.6297719 0.333527 0.6304259 0.7010204 0.8696271 0.6594656 0.5223155 0.5821585 0.5841549 0.5925459 0.3125986 0.7010204 0.8696271 0.8334758 0.09127306 0 0 0.7236864 0.9206312 0.7091619 0.9249192 0.6953774 0.9249192 0.6867123 0.9153248 0 0 0 0 0.6867123 0.9153248 0.6841872 0.8956825 0.6906179 0.8770568 0.6841872 0.8956825 0 0 0.6906179 0.8770568 0.6841872 0.8956825 0 0 0 0 0.3452705 0.6090589 0.3420396 0.6084049 0 0 0.3451116 0.6513874 0.333527 0.6304259 0 0 0.6874904 0.234522 0.6562802 0.3344725 0 0 0.6874904 0.234522 0 0 0.6562802 0.3344725 0.6778163 0.616733 0.5821585 0.5841549 0.6594656 0.5223155 0.7246037 0.2716902 0.725706 0.3977416 0 0 0.725706 0.3977416 0 0 0 0 0.7814487 0.5165212 0.7643395 0.5731502 0.6977865 0.5496675 0.7321159 0.6175277 0.7324154 0.6419013 0 0 0.7324154 0.6419013 0.6374627 0.774449 0.6241983 0.6829342 0.6778163 0.616733 0.7321159 0.6175277 0 0 0 0 0 0 0 0 0 0 0.8057641 0.9075134 0 0 0.7324154 0.6419013 0.7320606 0.6730535 0 0 0.8155391 0.8696271 0.8262962 0.8667582 0.867897 0.5307281 0.214002 0.07949036 0.2591307 0.02093333 0.2401435 0.2918783 0.8057641 0.9075134 0 0 0 0 0.3116049 0.2787995 0 0 0.2401435 0.2918783 0 0 0 0 0.2401435 0.2918783 0.8233872 0.7744489 0.8382681 0.6829342 0.8414618 0.7755994 0.2591307 0.02093333 0.214002 0.07949036 0.1708067 0.007762432 0.4208793 0.2436079 0 0 0.3452705 0.244252 0 0 0.3453039 0.2671667 0.3452705 0.244252 0.3116049 0.2787995 0.3380499 0.3830105 0 0 0.7246037 0.2716902 0.3451116 0.6513874 0.3451116 0.6641529 0.8348835 0.1116201 0.8334758 0.09127306 0.3452705 0.244252 0.6841872 0.8956825 0.6867123 0.9153248 0.3452705 0.6090589 0.3452705 0.6090589 0.6867123 0.9153248 0 0 0 0 0 0 0.6953774 0.9249192 0.7278157 0.8801708 0.7144891 0.872721 0.3452705 0.244252 0.7144891 0.872721 0.7010204 0.8696271 0.3452705 0.244252 0.3369553 0.6695344 0.7870305 0.2936271 0.3451116 0.6641529 0 0 0.7246037 0.2716902 0.7870305 0.2936271 0.7010204 0.8696271 0 0 0.3452705 0.244252 0 0 0 0 0.3452705 0.244252 0.8334757 0.2602227 0 0 0.7870305 0.2936271 0 0 0.725706 0.3977416 0.7246037 0.2716902 0 0 0.4208793 0.2436079 0.3452705 0.244252 0 0 0 0 0.4208793 0.2436079 0.7814487 0.5165212 0.8334757 0.5353754 0.7643395 0.5731502 0 0 0.7324154 0.6419013 0.7321159 0.6175277 0.5925459 0.3125986 0.5446513 0.5205742 0.4856724 0.3079814 0.5446513 0.5205742 0.6165043 0.7755994 0.4856724 0.3079814 0.7817496 0.616733 0 0 0.7321159 0.6175277 0.8334757 0.2602227 0.8254509 0.3872355 0 0 0.4925407 0.5869409 0.479022 0.5629673 0.4856724 0.3079814 0.3369553 0.6695344 0 0 0.8334757 0.2602227 0.8254509 0.3872355 0.8334757 0.5353754 0.7814487 0.5165212 0.8382681 0.6829342 0.8233872 0.7744489 0.7324154 0.6419013 0.3452705 0.244252 0 0 0.001359403 0.3104869 0 0 0 0 0.7324154 0.6419013 0.7817496 0.616733 0.8018881 0.5869409 0.2591307 0.02093333 0 0 0 0 0 0.3334793 0.8254509 0.3872355 0.8334757 0.2602227 0.8334757 0.5353754 0.3380499 0.3830105 0.3116049 0.2787995 0.3359479 0.09277945 0.1308512 0.2834188 0 0 0 0.3334793 0 0 0 0 0 0.3334793 0 0 0 0 0 0.3334793 0.3420396 0.6084049 0 0 0 0.3334793 0.6953774 0.9249192 0.7091619 0.9249192 0 0.3334793 0.7091619 0.9249192 0.7236864 0.9206312 0 0.3334793 0.8334758 0.1319672 0.8348835 0.1116201 0 0.3334793 0.8334758 0.1319672 0.8334758 0.09127306 0.8348835 0.1116201 0 0 0 0 0.8334758 0.09127306 0.07599359 0.01992857 0.1548295 0.03000104 0 0 0.7010204 0.8696271 0.7144891 0.872721 0.7278157 0.8801708 0 0 0.6841872 0.8956825 0.3452705 0.6090589 0.3451116 0.6513874 0 0 0 0 0.3451116 0.6513874 0 0 0 0 0 0 0.5925459 0.3125986 0 0 0.7321159 0.6175277 0.7300738 0.5976037 0.7817496 0.616733 0.8233872 0.7744489 0.8414618 0.7755994 0.8155391 0.8696271 0.1708067 0.007762432 0.1548295 0.03000104 0.08581602 0 0.6516036 0.5869409 0.7300738 0.5976037 0.6778163 0.616733 0.6374627 0.774449 0.6385921 0.8696271 0.6165043 0.7755994 0.4925407 0.5869409 0.4024014 0.5851207 0.479022 0.5629673 0 0 0.6374627 0.774449 0.8155391 0.8696271 0.2591307 0.02093333 0.3359479 0.09277945 0.2401435 0.2918783 0.2401435 0.2918783 0 0 0.1308512 0.2834188 0.479022 0.5629673 0.3959451 0.5640614 0.4856724 0.3079814 0.4208793 0.2436079 0 0 0 0 0.6906179 0.8770568 0.3367578 0.6297719 0.7010204 0.8696271 0.6562802 0.3344725 0.6594656 0.5223155 0.5925459 0.3125986 0.6906179 0.8770568 0.7010204 0.8696271 0 0 0.3369553 0.6695344 0.3452705 0.6090589 0 0 0.3451116 0.6641529 0.3451116 0.6513874 0 0 0 0 0 0 0 0 0 0 0.8057641 0.9075134 0 0 0.7870305 0.2936271 0.7246037 0.2716902 0.3451116 0.6641529 0 0.3334793 0.8348835 0.1116201 0.3452705 0.244252 0.3420396 0.6084049 0.3452705 0.6090589 0 0 0.6867123 0.9153248 0 0 0.6953774 0.9249192 0.7870305 0.2936271 0.3369553 0.6695344 0.8334757 0.2602227 0 0.3334793 0.3452705 0.244252 0.001359403 0.3104869 0 0 0.07599359 0.01992857 0 0 0.3369553 0.6695344 0 0 0.3452705 0.6090589</float_array>
+          <technique_common>
+            <accessor source="#Cube-mesh-map-0-array" count="378" stride="2">
+              <param name="S" type="float"/>
+              <param name="T" type="float"/>
+            </accessor>
+          </technique_common>
+        </source>
+        <source id="Cube-mesh-colors-Col" name="Col">
+          <float_array id="Cube-mesh-colors-Col-array" count="1134">1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1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 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1</float_array>
+          <technique_common>
+            <accessor source="#Cube-mesh-colors-Col-array" count="378" stride="3">
+              <param name="R" type="float"/>
+              <param name="G" type="float"/>
+              <param name="B" type="float"/>
+            </accessor>
+          </technique_common>
+        </source>
+        <vertices id="Cube-mesh-vertices">
+          <input semantic="POSITION" source="#Cube-mesh-positions"/>
+        </vertices>
+        <polylist material="Material-material" count="126">
+          <input semantic="VERTEX" source="#Cube-mesh-vertices" offset="0"/>
+          <input semantic="NORMAL" source="#Cube-mesh-normals" offset="1"/>
+          <input semantic="TEXCOORD" source="#Cube-mesh-map-0" offset="2" set="0"/>
+          <input semantic="COLOR" source="#Cube-mesh-colors-Col" offset="3" set="0"/>
+          <vcount>3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 </vcount>
+          <p>42 0 0 0 10 0 1 1 11 0 2 2 14 1 3 3 17 1 4 4 16 1 5 5 15 2 6 6 18 2 7 7 17 2 8 8 42 3 9 9 45 3 10 10 44 3 11 11 50 4 12 12 51 4 13 13 48 4 14 14 51 5 15 15 52 5 16 16 49 5 17 17 47 6 18 18 13 6 19 19 16 6 20 20 10 7 21 21 19 7 22 22 4 7 23 23 40 8 24 24 46 8 25 25 32 8 26 26 63 9 27 27 53 9 28 28 32 9 29 29 40 10 30 30 48 10 31 31 46 10 32 32 40 11 33 33 47 11 34 34 48 11 35 35 51 12 36 36 50 12 37 37 52 12 38 38 0 13 39 39 6 13 40 40 2 13 41 41 52 14 42 42 38 14 43 43 30 14 44 44 28 15 45 45 32 15 46 46 30 15 47 47 15 16 48 48 14 16 49 49 2 16 50 50 14 17 51 51 12 17 52 52 2 17 53 53 12 18 54 54 4 18 55 55 2 18 56 56 0 19 57 57 5 19 58 58 6 19 59 59 26 20 60 60 25 20 61 61 5 20 62 62 0 21 63 63 26 21 64 64 5 21 65 65 61 22 66 66 62 22 67 67 60 22 68 68 41 23 69 69 40 23 70 70 32 23 71 71 60 24 72 72 56 24 73 73 54 24 74 74 20 25 75 75 22 25 76 76 23 25 77 77 21 26 78 78 57 26 79 79 54 26 80 80 21 27 81 81 58 27 82 82 57 27 83 83 58 28 84 84 61 28 85 85 57 28 86 86 58 29 87 87 64 29 88 88 61 29 89 89 24 30 90 90 25 30 91 91 26 30 92 92 63 31 93 93 62 31 94 94 61 31 95 95 31 32 96 96 53 32 97 97 63 32 98 98 31 33 99 99 41 33 100 100 53 33 101 101 44 34 102 102 40 34 103 103 41 34 104 104 31 35 105 105 29 35 106 106 41 35 107 107 29 36 108 108 33 36 109 109 41 36 110 110 33 37 111 111 42 37 112 112 41 37 113 113 45 38 114 114 43 38 115 115 40 38 116 116 43 39 117 117 47 39 118 118 40 39 119 119 44 40 120 120 45 40 121 121 40 40 122 122 39 41 123 123 13 41 124 124 47 41 125 125 38 42 126 126 52 42 127 127 18 42 128 128 43 43 129 129 39 43 130 130 47 43 131 131 16 44 132 132 17 44 133 133 18 44 134 134 12 45 135 135 9 45 136 136 4 45 137 137 52 46 138 138 50 46 139 139 16 46 140 140 19 47 141 141 26 47 142 142 4 47 143 143 26 48 144 144 0 48 145 145 4 48 146 146 13 49 147 147 9 49 148 148 14 49 149 149 9 50 150 150 12 50 151 151 14 50 152 152 36 51 153 153 30 51 154 154 37 51 155 155 30 52 156 156 38 52 157 157 37 52 158 158 19 53 159 159 3 53 160 160 26 53 161 161 31 54 162 162 63 54 163 163 64 54 164 164 55 55 165 165 56 55 166 166 37 55 167 167 58 56 168 168 21 56 169 169 24 56 170 170 24 57 171 171 21 57 172 172 23 57 173 173 54 58 174 174 20 58 175 175 23 58 176 176 56 59 177 177 59 59 178 178 37 59 179 179 59 60 180 180 60 60 181 181 37 60 182 182 27 61 183 183 35 61 184 184 64 61 185 185 33 62 186 186 31 62 187 187 35 62 188 188 60 63 189 189 62 63 190 190 37 63 191 191 62 64 192 192 34 64 193 193 37 64 194 194 3 65 195 195 33 65 196 196 35 65 197 197 33 66 198 198 29 66 199 199 31 66 200 200 34 67 201 201 36 67 202 202 37 67 203 203 34 68 204 204 28 68 205 205 36 68 206 206 33 69 207 207 10 69 208 208 42 69 209 209 9 70 210 210 43 70 211 211 45 70 212 212 32 71 213 213 46 71 214 214 30 71 215 215 46 72 216 216 48 72 217 217 30 72 218 218 11 73 219 219 9 73 220 220 45 73 221 221 3 74 222 222 1 74 223 223 33 74 224 224 48 75 225 225 49 75 226 226 30 75 227 227 27 76 228 228 26 76 229 229 3 76 230 230 1 77 231 231 10 77 232 232 33 77 233 233 9 78 234 234 13 78 235 235 43 78 236 236 37 79 237 237 38 79 238 238 8 79 239 239 13 80 240 240 39 80 241 241 43 80 242 242 11 81 243 243 10 81 244 244 9 81 245 245 8 82 246 246 2 82 247 247 7 82 248 248 1 83 249 249 3 83 250 250 10 83 251 251 3 84 252 252 19 84 253 253 10 84 254 254 2 85 255 255 6 85 256 256 7 85 257 257 6 86 258 258 5 86 259 259 7 86 260 260 5 87 261 261 25 87 262 262 7 87 263 263 25 88 264 264 23 88 265 265 7 88 266 266 23 89 267 267 22 89 268 268 7 89 269 269 22 90 270 270 20 90 271 271 7 90 272 272 20 91 273 273 55 91 274 274 7 91 275 275 20 92 276 276 56 92 277 277 55 92 278 278 20 93 279 279 54 93 280 280 56 93 281 281 18 94 282 282 15 94 283 283 2 94 284 284 60 95 285 285 59 95 286 286 56 95 287 287 64 96 288 288 58 96 289 289 24 96 290 290 63 97 291 291 34 97 292 292 62 97 293 293 63 98 294 294 28 98 295 295 34 98 296 296 63 99 297 297 32 99 298 298 28 99 299 299 45 100 300 300 42 100 301 301 11 100 302 302 13 101 303 303 14 101 304 304 16 101 305 305 14 102 306 306 15 102 307 307 17 102 308 308 41 103 309 309 42 103 310 310 44 103 311 311 47 104 312 312 50 104 313 313 48 104 314 314 48 105 315 315 51 105 316 316 49 105 317 317 50 106 318 318 47 106 319 319 16 106 320 320 9 107 321 321 10 107 322 322 4 107 323 323 4 108 324 324 0 108 325 325 2 108 326 326 49 109 327 327 52 109 328 328 30 109 329 329 36 110 330 330 28 110 331 331 30 110 332 332 57 111 333 333 61 111 334 334 60 111 335 335 53 112 336 336 41 112 337 337 32 112 338 338 57 113 339 339 60 113 340 340 54 113 341 341 27 114 342 342 24 114 343 343 26 114 344 344 64 115 345 345 63 115 346 346 61 115 347 347 8 116 348 348 38 116 349 349 18 116 350 350 18 117 351 351 52 117 352 352 16 117 353 353 35 118 354 354 31 118 355 355 64 118 356 356 7 119 357 357 55 119 358 358 37 119 359 359 25 120 360 360 24 120 361 361 23 120 362 362 21 121 363 363 54 121 364 364 23 121 365 365 35 122 366 366 27 122 367 367 3 122 368 368 7 123 369 369 37 123 370 370 8 123 371 371 8 124 372 372 18 124 373 373 2 124 374 374 27 125 375 375 64 125 376 376 24 125 377 377</p>
+        </polylist>
+      </mesh>
+    </geometry>
+  </library_geometries>
+  <library_controllers/>
+  <library_visual_scenes>
+    <visual_scene id="Scene" name="Scene">
+      <node id="Boar" name="Boar" type="NODE">
+        <matrix sid="transform">0.9914864 0.006938361 -0.1300251 0 -0.005842852 0.9999442 0.008804949 0 0.1300789 -0.00797027 0.9914716 0 0 0 0 1</matrix>
+        <instance_geometry url="#Cube-mesh" name="Boar">
+          <bind_material>
+            <technique_common>
+              <instance_material symbol="Material-material" target="#Material-material"/>
+            </technique_common>
+          </bind_material>
+        </instance_geometry>
+      </node>
+    </visual_scene>
+  </library_visual_scenes>
+  <scene>
+    <instance_visual_scene url="#Scene"/>
+  </scene>
+</COLLADA>
\ No newline at end of file