diff --git a/src/main.rs b/src/main.rs index aef0c04..a419f0e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -16,7 +16,7 @@ fn main() { struct Boid; #[derive(Component, Default)] -struct Velocity(Vec3); +struct Velocity(Vec2); #[derive(Bundle, Default)] struct BoidBundle { @@ -27,7 +27,7 @@ struct BoidBundle { fn move_boids(mut boids: Query<(&mut Transform, &Velocity), With>, time: Res