Changeset 5492 in orxonox.OLD for trunk/src/lib/collision_detection
- Timestamp:
- Nov 4, 2005, 6:24:44 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/collision_detection/obb_tree_node.cc
r5491 r5492 372 372 OBBTreeNode::coMat[2][2] = box->covarianceMatrix[2][2]; 373 373 374 // OBBTreeNode::coMat[0][0] = box->covarianceMatrix[0][0]; 375 // OBBTreeNode::coMat[0][1] = box->covarianceMatrix[0][1]; 376 // OBBTreeNode::coMat[0][2] = box->covarianceMatrix[0][2]; 374 375 // OBBTreeNode::coMat[0][0] = 1; 376 // OBBTreeNode::coMat[0][1] = 2; 377 // OBBTreeNode::coMat[0][2] = 7; 377 378 // 378 // OBBTreeNode::coMat[1][0] = box->covarianceMatrix[1][0];379 // OBBTreeNode::coMat[1][1] = box->covarianceMatrix[1][1];380 // OBBTreeNode::coMat[1][ 3] = box->covarianceMatrix[1][2];379 // OBBTreeNode::coMat[1][0] = 2; 380 // OBBTreeNode::coMat[1][1] = 5; 381 // OBBTreeNode::coMat[1][2] = 5; 381 382 // 382 // OBBTreeNode::coMat[2][0] = box->covarianceMatrix[2][0]; 383 // OBBTreeNode::coMat[2][1] = box->covarianceMatrix[2][1]; 384 // OBBTreeNode::coMat[2][2] = box->covarianceMatrix[2][2]; 383 // OBBTreeNode::coMat[2][0] = 7; 384 // OBBTreeNode::coMat[2][1] = 5; 385 // OBBTreeNode::coMat[2][2] = 8; 386 387 OBBTreeNode::coMat[0][0] = box->covarianceMatrix[0][0]; 388 OBBTreeNode::coMat[0][1] = box->covarianceMatrix[0][1]; 389 OBBTreeNode::coMat[0][2] = box->covarianceMatrix[0][2]; 390 391 OBBTreeNode::coMat[1][0] = box->covarianceMatrix[1][0]; 392 OBBTreeNode::coMat[1][1] = box->covarianceMatrix[1][1]; 393 OBBTreeNode::coMat[1][3] = box->covarianceMatrix[1][2]; 394 395 OBBTreeNode::coMat[2][0] = box->covarianceMatrix[2][0]; 396 OBBTreeNode::coMat[2][1] = box->covarianceMatrix[2][1]; 397 OBBTreeNode::coMat[2][2] = box->covarianceMatrix[2][2]; 385 398 386 399 … … 409 422 box->axis = axis; 410 423 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);424 // PRINTF(0)("-- Got Axis\n"); 425 // 426 // PRINTF(0)("eigenvector: %f, %f, %f\n", box->axis[0].x, box->axis[0].y, box->axis[0].z); 427 // PRINTF(0)("eigenvector: %f, %f, %f\n", box->axis[1].x, box->axis[1].y, box->axis[1].z); 428 // PRINTF(0)("eigenvector: %f, %f, %f\n", box->axis[2].x, box->axis[2].y, box->axis[2].z); 416 429 } 417 430
Note: See TracChangeset
for help on using the changeset viewer.