Searched refs:limitX (Results 1 – 2 of 2) sorted by relevance
20 void Boid::flock(const Boid* boids[], int numBoids, int index, float limitX, float limitY) { in flock() argument86 if (mPosition.mX < -limitX) { in flock()87 mPosition.mX = limitX; in flock()88 } else if (mPosition.mX > limitX) { in flock()89 mPosition.mX = -limitX; in flock()
25 void flock(const Boid* boids[], int numBoids, int index, float limitX, float limitY);