- Timestamp:
- Nov 4, 2005, 11:40:59 PM (19 years ago)
- Location:
- trunk/src/lib
- Files:
-
- 2 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; -
trunk/src/lib/util/color.cc
r5011 r5494 93 93 } 94 94 else { 95 96 95 if(h == 360.) 96 h = 0.0; 97 97 h /= 60.; 98 98 i = (int) h;
Note: See TracChangeset
for help on using the changeset viewer.