Changeset 5494 in orxonox.OLD for trunk/src/lib/collision_detection
- Timestamp:
- Nov 4, 2005, 11:40:59 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/collision_detection/obb_tree_node.cc
r5493 r5494 1071 1071 if (depth > 0) 1072 1072 { 1073 Vector childColor1 = Color::HSVtoRGB(Color::RGBtoHSV(color)+Vector(10.0,0.0,0.0));1074 Vector childColor2 = Color::HSVtoRGB(Color::RGBtoHSV(color)-Vector(10.0,0.0,0.0));1075 1073 if( this->nodeLeft != NULL) 1076 this->nodeLeft->drawBV(depth - 1, drawMode, childColor1, false);1074 this->nodeLeft->drawBV(depth - 1, drawMode, Color::HSVtoRGB(Color::RGBtoHSV(color)+Vector(15.0,0.0,0.0)), false); 1077 1075 if( this->nodeRight != NULL) 1078 this->nodeRight->drawBV(depth - 1, drawMode, childColor2, false);1076 this->nodeRight->drawBV(depth - 1, drawMode, Color::HSVtoRGB(Color::RGBtoHSV(color)+Vector(30.0,0.0,0.0)), false); 1079 1077 } 1080 1078 this->bvElement->bCollided = false;
Note: See TracChangeset
for help on using the changeset viewer.