Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 10, 2005, 11:23:01 AM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: now drawing o-boundingbox as a polygon, seems to be one minor accuracy problem

File:
1 edited

Legend:

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

    r4587 r4588  
    9797  /* generate some test vertices */
    9898  sVec3D* vertList = new sVec3D[4];
    99   sVec3D data[]  = {{0.0, 0.0, 0.0},{10.0, -5.0, 5.0},{10.0, 5.0, 0.0}, {5.0, 4.0, 1.0}};
     99  sVec3D data[]  = {{0.0, 0.0, 0.0},{2.0, -8.0, 5.0},{10.0, 5.0, 0.0}, {5.0, 4.0, 1.0}};
    100100
    101   for(int i = 0; i < 3; ++i)
     101  for(int i = 0; i < 4; ++i)
    102102    {
    103103      vertList[i][0] = data[i][0];
Note: See TracChangeset for help on using the changeset viewer.