Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 1, 2007, 12:01:20 PM (17 years ago)
Author:
rennerc
Message:

ActionboxEnemy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/vs-enhencements/src/util/track/action_box.cc

    r10645 r10667  
    127127bool ActionBox::isPointInBox( const Vector & pos )
    128128{
    129   bool result = true; //TODO remove
    130129  for ( int i = 0; i<6; i++ )
    131130  {
    132131    if ( planes[i].distancePoint( pos ) < 0 )
    133132    {
    134       result = false; // TODO return false;
    135       printf("PLANE %i FAILED %f\n", i, planes[i].distancePoint( pos ) );
     133      return false;
    136134    }
    137135  }
    138   return result;  //TODO return true;
     136  return true;
    139137}
    140138
Note: See TracChangeset for help on using the changeset viewer.