From edc9b376b95ad5f2a99476595f29de8e4c4f26a1 Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Sun, 1 Sep 2024 15:13:35 -0700 Subject: [PATCH] faster and time agnostic movement --- src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index 53fddd2..7dd7b42 100644 --- a/src/main.rs +++ b/src/main.rs @@ -25,9 +25,9 @@ struct BoidBundle { boid: Boid, } -fn move_boids(mut boids: Query<(&mut Transform, &Velocity), With>) { +fn move_boids(mut boids: Query<(&mut Transform, &Velocity), With>, time: Res