Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 326


Ignore:
Timestamp:
Nov 28, 2007, 4:27:35 PM (17 years ago)
Author:
motth
Message:

added Flocking

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/AI/src/Flocking.h

    r325 r326  
    9696    *steering = *steering / (float)numberOfNeighbour;  //devide the sum of steeringvectors by the number of elements -> separation steeringvector
    9797    }
    98     // cout << *steering << endl;
    9998    return *steering;
    10099  }
     
    116115    *steering = *steering / (float)numberOfNeighbour;  //devide the sum of steeringvectors by the number of elements -> alignment steeringvector
    117116    }
    118     cout << *steering << endl;
    119117    return *steering;
    120118  }
Note: See TracChangeset for help on using the changeset viewer.