Changeset 4676 in orxonox.OLD for orxonox/trunk/src/lib/collision_detection
- Timestamp:
- Jun 23, 2005, 11:15:35 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/collision_detection/obb_tree_node.cc
r4675 r4676 619 619 if( !(drawMode & DRAW_SINGLE && depth != 0)) 620 620 { 621 //glBegin(GL_LINE_STRIP);622 621 for(int i = 0; i < this->bvElement->numOfVertices; ++i) 623 622 { … … 626 625 //glVertex3f(this->bvElement->vertices[i][0], this->bvElement->vertices[i][1], this->bvElement->vertices[i][2]); 627 626 glTranslatef(this->bvElement->vertices[i][0], this->bvElement->vertices[i][1], this->bvElement->vertices[i][2]); 628 gluSphere(this->sphereObj, 0. 2, 10, 10);627 gluSphere(this->sphereObj, 0.1, 10, 10); 629 628 //PRINTF(0)("v(%f, %f, %f)\n", this->bvElement->vertices[i][0], this->bvElement->vertices[i][1], this->bvElement->vertices[i][2]); 630 629 glPopMatrix(); 631 630 } 632 //glEnd();633 631 } 634 632 } … … 636 634 637 635 /* draw world axes */ 638 glBegin(GL_LINES); 639 glColor3f(0.0, 0.4, 0.3); 640 glVertex3f(0.0, 0.0, 0.0); 641 glVertex3f(3.0, 0.0, 0.0); 642 643 glVertex3f(0.0, 0.0, 0.0); 644 glVertex3f(0.0, 3.0, 0.0); 645 646 glVertex3f(0.0, 0.0, 0.0); 647 glVertex3f(0.0, 0.0, 3.0); 648 glEnd(); 649 636 if( drawMode & DRAW_BV_AXIS) 637 { 638 glBegin(GL_LINES); 639 glColor3f(0.0, 0.4, 0.3); 640 glVertex3f(0.0, 0.0, 0.0); 641 glVertex3f(3.0, 0.0, 0.0); 642 643 glVertex3f(0.0, 0.0, 0.0); 644 glVertex3f(0.0, 3.0, 0.0); 645 646 glVertex3f(0.0, 0.0, 0.0); 647 glVertex3f(0.0, 0.0, 3.0); 648 glEnd(); 649 } 650 650 651 651 if( drawMode & DRAW_BV_AXIS || drawMode & DRAW_ALL)
Note: See TracChangeset
for help on using the changeset viewer.