Changeset 7597 in orxonox.OLD for branches/cd/src/lib/collision_detection
- Timestamp:
- May 11, 2006, 5:34:14 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/cd/src/lib/collision_detection/obb_tree_node.cc
r7590 r7597 120 120 this->calculateBoxCovariance(*this->bvElement, modelInf, triangleIndexes, length); 121 121 this->calculateBoxEigenvectors(*this->bvElement, modelInf, triangleIndexes, length); 122 this->calculateBoxAxis(*this->bvElement, modelInf, triangleIndexes, length);123 this->calculateBoxAxis(*this->bvElement, modelInf, triangleIndexes, length);122 // this->calculateBoxAxis(*this->bvElement, modelInf, triangleIndexes, length); 123 // this->calculateBoxAxis(*this->bvElement, modelInf, triangleIndexes, length); 124 124 this->calculateBoxAxis(*this->bvElement, modelInf, triangleIndexes, length); 125 125 … … 365 365 box.halfLength[i] = (maxLength[i] - minLength[i]) / 2.0f; // min length is negative 366 366 } 367 367 368 // FIXME: += anstatt -= ????????? verwirr 368 box.center.x += centerOffset[0];369 box.center.y += centerOffset[1];370 box.center.z += centerOffset[2];369 box.center.x -= centerOffset[0]; 370 box.center.y -= centerOffset[1]; 371 box.center.z -= centerOffset[2]; 371 372 372 373 PRINTF(3)("\n");
Note: See TracChangeset
for help on using the changeset viewer.