Changeset 10667 in orxonox.OLD for branches/vs-enhencements/src/util/track
- Timestamp:
- Jun 1, 2007, 12:01:20 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/vs-enhencements/src/util/track/action_box.cc
r10645 r10667 127 127 bool ActionBox::isPointInBox( const Vector & pos ) 128 128 { 129 bool result = true; //TODO remove130 129 for ( int i = 0; i<6; i++ ) 131 130 { 132 131 if ( planes[i].distancePoint( pos ) < 0 ) 133 132 { 134 result = false; // TODO return false; 135 printf("PLANE %i FAILED %f\n", i, planes[i].distancePoint( pos ) ); 133 return false; 136 134 } 137 135 } 138 return result; //TODO returntrue;136 return true; 139 137 } 140 138
Note: See TracChangeset
for help on using the changeset viewer.