Searched refs:limitY (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() argument91 if (mPosition.mY < -limitY) { in flock()92 mPosition.mY = limitY; in flock()93 } else if (mPosition.mY > limitY) { in flock()94 mPosition.mY = -limitY; in flock()
24 void flock(const Boid* boids[], int numBoids, int index, float limitX, float limitY);