fix accel cache queries

This commit is contained in:
Zynh Ludwig 2024-09-03 15:18:42 -07:00
parent f4079d173a
commit 7eba1d88fe

View file

@ -82,9 +82,9 @@ fn build_local_cache(
fn seperation(mut boids: Query<(Entity, &Transform, &mut SeperationAcceleration), With<Boid>>) {} fn seperation(mut boids: Query<(Entity, &Transform, &mut SeperationAcceleration), With<Boid>>) {}
fn cohesion(mut boids: Query<(Entity, &Transform, &mut SeperationAcceleration), With<Boid>>) {} fn cohesion(mut boids: Query<(Entity, &Transform, &mut CohesionAcceleration), With<Boid>>) {}
fn alignment(mut boids: Query<(Entity, &Transform, &mut SeperationAcceleration), With<Boid>>) {} fn alignment(mut boids: Query<(Entity, &Transform, &mut AlignmentAcceleration), With<Boid>>) {}
fn accelerate( fn accelerate(
mut boids: Query< mut boids: Query<