Changeset 326 for code/branches
- Timestamp:
- Nov 28, 2007, 4:27:35 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/AI/src/Flocking.h
r325 r326 96 96 *steering = *steering / (float)numberOfNeighbour; //devide the sum of steeringvectors by the number of elements -> separation steeringvector 97 97 } 98 // cout << *steering << endl;99 98 return *steering; 100 99 } … … 116 115 *steering = *steering / (float)numberOfNeighbour; //devide the sum of steeringvectors by the number of elements -> alignment steeringvector 117 116 } 118 cout << *steering << endl;119 117 return *steering; 120 118 }
Note: See TracChangeset
for help on using the changeset viewer.