Searched refs:MAX_SPEED (Results 1 – 2 of 2) sorted by relevance
75 desired.scale(MAX_SPEED * ((d < 100.0f) ? d / 100.0f : 1)); in flock()83 mVelocity.limit(MAX_SPEED); in flock()
27 static const constexpr float MAX_SPEED = 2.0f;// Upper limit of boid velocity. variable