Changeset 4675 in orxonox.OLD for orxonox/trunk/src/lib/collision_detection
- Timestamp:
- Jun 23, 2005, 11:08:06 PM (20 years ago)
- Location:
- orxonox/trunk/src/lib/collision_detection
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/collision_detection/cd_engine.cc
r4635 r4675 52 52 53 53 54 void CDEngine::checkCollisions() 55 { 56 57 } 58 59 54 60 55 61 void CDEngine::drawBV(int depth, int drawMode) const -
orxonox/trunk/src/lib/collision_detection/obb_tree_node.cc
r4674 r4675 300 300 for(int i = 0; i < length; i++) 301 301 { 302 //PRINTF(0)("vertex %i: %f, %f, %f\n", i, verticesList[i][0], verticesList[i][1], verticesList[i][2]);303 302 PRINTF(3)("vertex %i: %f, %f, %f\n", i, box->vertices[i][0], box->vertices[i][1], box->vertices[i][2]); 304 303 } 305 304 306 305 307 PRINTF( 0)("\nCovariance Matrix:\n");306 PRINTF(3)("\nCovariance Matrix:\n"); 308 307 for(int j = 0; j < 3; ++j) 309 308 { 310 PRINT( 0)(" |");309 PRINT(3)(" |"); 311 310 for(int k = 0; k < 3; ++k) 312 311 { 313 PRINT( 0)(" \b%f ", covariance[j][k]);314 } 315 PRINT( 0)(" |\n");312 PRINT(3)(" \b%f ", covariance[j][k]); 313 } 314 PRINT(3)(" |\n"); 316 315 } 317 316 … … 369 368 PRINTF(3)("-- Got Axis\n"); 370 369 371 PRINTF( 0)("eigenvector: %f, %f, %f\n", box->axis[0].x, box->axis[0].y, box->axis[0].z);372 PRINTF( 0)("eigenvector: %f, %f, %f\n", box->axis[1].x, box->axis[1].y, box->axis[1].z);373 PRINTF( 0)("eigenvector: %f, %f, %f\n", box->axis[2].x, box->axis[2].y, box->axis[2].z);370 PRINTF(3)("eigenvector: %f, %f, %f\n", box->axis[0].x, box->axis[0].y, box->axis[0].z); 371 PRINTF(3)("eigenvector: %f, %f, %f\n", box->axis[1].x, box->axis[1].y, box->axis[1].z); 372 PRINTF(3)("eigenvector: %f, %f, %f\n", box->axis[2].x, box->axis[2].y, box->axis[2].z); 374 373 } 375 374 … … 627 626 //glVertex3f(this->bvElement->vertices[i][0], this->bvElement->vertices[i][1], this->bvElement->vertices[i][2]); 628 627 glTranslatef(this->bvElement->vertices[i][0], this->bvElement->vertices[i][1], this->bvElement->vertices[i][2]); 629 gluSphere(this->sphereObj, 1, 10, 10);628 gluSphere(this->sphereObj, 0.2, 10, 10); 630 629 //PRINTF(0)("v(%f, %f, %f)\n", this->bvElement->vertices[i][0], this->bvElement->vertices[i][1], this->bvElement->vertices[i][2]); 631 630 glPopMatrix();
Note: See TracChangeset
for help on using the changeset viewer.