fn add_noise_to_boids(boids: &mut System<Boid>, rng: &mut XorShiftRng, noise_std_dev: f64) {
        boids
            .apply(|boid| {
                boid.acceleration += Vector::generate_noise(rng, noise_std_dev)
            });
    }
/// Adds some noise to the boid's acceleration
Adds some noise to the boid's acceleration
Adds some noise to the boid ' s acceleration
fn add_noise_to_boids(boids: &mut System<Boid>, rng: &mut XorShiftRng, noise_std_dev: f64) {
        boids
            .apply(|boid| {
                boid.acceleration += Vector::generate_noise(rng, noise_std_dev)
            });
    }
fn add_noise_to_boids ( boids : & mut System < Boid > , rng : & mut XorShiftRng , noise_std_dev : f64 ) { boids . apply ( | boid | { boid . acceleration += Vector :: generate_noise ( rng , noise_std_dev ) } ) ; }
Adds some noise to the boid's acceleration
Adds some noise to the boid ' s acceleration
boids
&mut System<Boid>
rng
&mut XorShiftRng
noise_std_dev
f64
boids
&mut System<Boid>
rng
&mut XorShiftRng
noise_std_dev
f64