Searched refs:cohesion (Results 1 – 1 of 1) sorted by relevance
28 Vector2D cohesion; in flock() local49 cohesion.add(b->mPosition); in flock()68 cohesion.scale(1.0f / cohesionCount); in flock()69 cohesion.scale(COHESION_WEIGHT); in flock()70 Vector2D desired = cohesion.copy(); in flock()