Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 4, 2005, 6:14:13 PM (18 years ago)
Author:
patrick
Message:

orxonox/trunk/src/lib/cd: rebuilt the jacobi function. There are still some false reads in the function. There perhaps another bug also

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/collision_detection/obb_tree_node.cc

    r5488 r5491  
    390390
    391391
    392 //   PRINTF(3)("Jacobi\n");
    393 //   for(int j = 1; j < 4; ++j)
     392//   PRINTF(0)("Jacobi\n");
     393//   for(int j = 0; j < 3; ++j)
    394394//   {
    395 //     PRINTF(3)(" |");
    396 //     for(int k = 1; k < 4; ++k)
     395//     printf(" |");
     396//     for(int k = 0; k < 3; ++k)
    397397//     {
    398 //       PRINTF(3)(" \b%f ", OBBTreeNode::OBBTreeNode::eigvMat[j][k]);
     398//       printf(" \t%f ", OBBTreeNode::OBBTreeNode::eigvMat[j][k]);
    399399//     }
    400 //     PRINTF(3)(" |\n");
     400//     printf(" |\n");
    401401//   }
    402402
     
    409409  box->axis = axis;
    410410
    411   PRINTF(3)("-- Got Axis\n");
    412 
    413   PRINTF(3)("eigenvector: %f, %f, %f\n", box->axis[0].x, box->axis[0].y, box->axis[0].z);
    414   PRINTF(3)("eigenvector: %f, %f, %f\n", box->axis[1].x, box->axis[1].y, box->axis[1].z);
    415   PRINTF(3)("eigenvector: %f, %f, %f\n", box->axis[2].x, box->axis[2].y, box->axis[2].z);
     411  PRINTF(0)("-- Got Axis\n");
     412
     413  PRINTF(0)("eigenvector: %f, %f, %f\n", box->axis[0].x, box->axis[0].y, box->axis[0].z);
     414  PRINTF(0)("eigenvector: %f, %f, %f\n", box->axis[1].x, box->axis[1].y, box->axis[1].z);
     415  PRINTF(0)("eigenvector: %f, %f, %f\n", box->axis[2].x, box->axis[2].y, box->axis[2].z);
    416416}
    417417
Note: See TracChangeset for help on using the changeset viewer.