Changeset 4633 in orxonox.OLD for orxonox/trunk/src
- Timestamp:
- Jun 14, 2005, 6:56:35 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/collision_detection/obb_tree_node.cc
r4632 r4633 185 185 } 186 186 PRINTF(0)("-- Calculated Covariance\n"); 187 return; 187 188 188 189 189 // printf("\nVertex Data:\n"); … … 203 203 // printf(" |\n"); 204 204 // } 205 // printf("center: %f, %f, %f\n\n", center.x, center.y, center.z); 206 207 208 for(int i = 0; i < 3; ++i) 209 { 210 211 box->covarianceMatrix[i][0] = covariance[i][0]; 212 box->covarianceMatrix[i][1] = covariance[i][1]; 213 box->covarianceMatrix[i][3] = covariance[i][2]; 214 } 205 PRINTF(0)("center: %f, %f, %f\n", center.x, center.y, center.z); 206 207 208 // for(int i = 0; i < 3; ++i) 209 // { 210 // box->covarianceMatrix[i][0] = covariance[i][0]; 211 // box->covarianceMatrix[i][1] = covariance[i][1]; 212 // box->covarianceMatrix[i][3] = covariance[i][2]; 213 // } 215 214 *box->center = center; 216 215 PRINTF(0)("-- Written Result to obb\n"); … … 562 561 563 562 564 if( depth != 0)563 if( true)//depth != 0) 565 564 { 566 565 /* now draw the separation plane */ … … 575 574 glVertex3f(c.x - a1.x * l1 - a2.x * l2, c.y - a1.y * l1- a2.y * l2, c.z - a1.z * l1 - a2.z * l2); 576 575 glVertex3f(c.x + a1.x * l1 - a2.x * l2, c.y + a1.y * l1- a2.y * l2, c.z + a1.z * l1 - a2.z * l2); 577 578 576 glEnd(); 579 577 }
Note: See TracChangeset
for help on using the changeset viewer.