diff --git a/Cargo.toml b/Cargo.toml index 336003f..d482c70 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,19 +10,18 @@ repository = "https://github.com/johanhelsing/noisy_bevy" version = "0.5.0" [dependencies] -bevy = { version = "0.12", default-features = false, features = [ - "bevy_asset", - "bevy_render" - ] } +bevy = { version = "0.13", default-features = false, features = [ + "bevy_asset", + "bevy_render" +] } [dev-dependencies] -bevy = { version = "0.12", default-features = false, features = [ - "bevy_sprite", - "bevy_winit", - "x11", # github actions runners don't have libxkbcommon installed, so can't use wayland +bevy = { version = "0.13", default-features = false, features = [ + "bevy_sprite", + "bevy_winit", + "x11", # github actions runners don't have libxkbcommon installed, so can't use wayland ] } rand = "0.8" -bevy_egui = { version = "0.23", default-features = false, features = ["default_fonts"] } -# bevy-inspector-egui = {version = "0.19.1", default-features = false} -bevy_pancam = { version = "0.10", features = ["bevy_egui"] } +bevy_egui = { version = "0.25", default-features = false, features = ["default_fonts"] } +bevy_pancam = { version = "0.11", features = ["bevy_egui"] } insta = "1.21" \ No newline at end of file diff --git a/assets/examples/asteroid_background.wgsl b/assets/examples/asteroid_background.wgsl index 7ce6fb4..ade27d2 100644 --- a/assets/examples/asteroid_background.wgsl +++ b/assets/examples/asteroid_background.wgsl @@ -8,7 +8,7 @@ struct AsteroidMaterial { params: vec4 } -@group(1) @binding(0) var material: AsteroidMaterial; +@group(2) @binding(0) var material: AsteroidMaterial; struct Vertex { @builtin(instance_index) instance_index: u32, diff --git a/examples/asteroids.rs b/examples/asteroids.rs index f298891..166fbc5 100644 --- a/examples/asteroids.rs +++ b/examples/asteroids.rs @@ -139,7 +139,7 @@ fn expand_asteroids( ), }); - let quad_handle = meshes.add(Mesh::from(shape::Quad::new(Vec2::new(100.0, 100.0)))); + let quad_handle = meshes.add(Mesh::from(Rectangle::from_size(Vec2::new(100.0, 100.0)))); asteroid.spawn(MaterialMesh2dBundle { mesh: quad_handle.into(),