Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4590 in orxonox.OLD for orxonox/trunk/src/lib/collision_detection


Ignore:
Timestamp:
Jun 10, 2005, 5:56:12 PM (20 years ago)
Author:
patrick
Message:

orxonox/trunk: flushing work: for testing purp using only 2d object: triangle is perfectly beeing aligned! :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/collision_detection/obb_tree.cc

    r4589 r4590  
    9696
    9797  /* generate some test vertices */
    98   int const length = 5;
     98  int const length = 3;
    9999  sVec3D* vertList = new sVec3D[length];
    100   sVec3D data[length]  = {{5.0, 0.0, 0.0},{2.0, -8.0, 5.0},{14.0, 5.0, 0.0}, {5.0, 4.0, 1.0}, {12.0, 2.0, 8.0}};
     100  sVec3D data[length]  = {{5.0, 0.0, 0.0},{2.0, 0.0, 5.0},{14.0, 0.0, 0.0}};//, {5.0, 0.0, 1.0}, {12.0, 0.0, 8.0}, {3.0, 5.0, 4.9}};
    101101
    102102  for(int i = 0; i < length; ++i)
Note: See TracChangeset for help on using the changeset viewer.