Changeset 6449 in orxonox.OLD for branches/collision_detection/src
- Timestamp:
- Jan 9, 2006, 2:02:49 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/collision_detection/src/lib/collision_detection/obb_tree_node.cc
r6448 r6449 705 705 } 706 706 } 707 /* if (top) 707 708 if (top) 708 709 { 709 710 glPushAttrib(GL_ENABLE_BIT); 710 711 glDisable(GL_LIGHTING); 711 712 glDisable(GL_TEXTURE_2D); 712 } */713 } 713 714 glColor3f(color.x, color.y, color.z); 714 715 … … 733 734 734 735 735 if( drawMode & DRAW_BV_AXIS || drawMode & DRAW_ALL)736 if( 1/*drawMode & DRAW_BV_AXIS || drawMode & DRAW_ALL*/) 736 737 { 737 738 if(1 /*!(drawMode & DRAW_SINGLE && depth != 0)*/) … … 739 740 /* draw the obb axes */ 740 741 glBegin(GL_LINES); 741 glColor3f( 0.0, 0.4, 0.3);742 glColor3f(1.0, 0.0, 0.0); 742 743 glVertex3f(this->bvElement->center.x, this->bvElement->center.y, this->bvElement->center.z); 743 744 glVertex3f(this->bvElement->center.x + this->bvElement->axis[0].x * this->bvElement->halfLength[0], … … 745 746 this->bvElement->center.z + this->bvElement->axis[0].z * this->bvElement->halfLength[0]); 746 747 748 glColor3f(0.0, 1.0, 0.0); 747 749 glVertex3f(this->bvElement->center.x, this->bvElement->center.y, this->bvElement->center.z); 748 750 glVertex3f(this->bvElement->center.x + this->bvElement->axis[1].x * this->bvElement->halfLength[1], … … 750 752 this->bvElement->center.z + this->bvElement->axis[1].z * this->bvElement->halfLength[1]); 751 753 754 glColor3f(0.0, 0.0, 1.0); 752 755 glVertex3f(this->bvElement->center.x, this->bvElement->center.y, this->bvElement->center.z); 753 756 glVertex3f(this->bvElement->center.x + this->bvElement->axis[2].x * this->bvElement->halfLength[2],
Note: See TracChangeset
for help on using the changeset viewer.