- Timestamp:
- Jan 9, 2006, 2:14:00 PM (19 years ago)
- Location:
- branches/collision_detection/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/collision_detection/src/lib/collision_detection/cd_engine.cc
r5882 r6450 83 83 WorldEntity* entity1 = iterator1->firstElement(); 84 84 WorldEntity* entity2 = iterator2->iteratorElement(iterator1); 85 PRINTF( 3)("checking for collisions\n");85 PRINTF(5)("checking for collisions\n"); 86 86 while( entity1 != NULL) 87 87 { -
branches/collision_detection/src/lib/math/matrix.cc
r5677 r6450 83 83 } 84 84 85 86 87 85 88 void Matrix::getEigenVectors(Vector& eigVc1, Vector& eigVc2, Vector& eigVc3) const 86 89 { … … 110 113 111 114 eigVc3 = eigVc1.cross(eigVc2); 115 116 eigVc2 = eigVc3.cross(eigVc1); 112 117 } 113 118 else if (eigenValuesCount == 1) … … 120 125 eigVc2.normalize(); 121 126 eigVc3.normalize(); 127 128 if (!(eigVc1.cross(eigVc3) == eigVc2)) 129 { 130 eigVc3.cross(eigVc1).debug(); 131 eigVc2.debug(); 132 } 133 printf("ok\n"); 122 134 } 123 135 -
branches/collision_detection/src/subprojects/collision_detection/collision_detection.cc
r5842 r6450 83 83 if (argc > 1) 84 84 { 85 printf("Loading model %s\n", argv[1]);85 //printf("Loading model %s\n", argv[1]); 86 86 b->loadModel(argv[1]); 87 87 } … … 260 260 entity->draw(); 261 261 entity->drawBVTree(depth, drawMode); 262 printf("%i, %i\n", depth, drawMode);262 // printf("%i, %i\n", depth, drawMode); 263 263 entity = iterator->nextElement(); 264 264 }
Note: See TracChangeset
for help on using the changeset viewer.