diff --git a/Cargo.toml b/Cargo.toml index 1cce2df..66c931d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "bevy_spectator" description = "A spectator camera plugin for Bevy" -version = "0.5.0" +version = "0.6.0" edition = "2021" authors = ["JonahPlusPlus <33059163+JonahPlusPlus@users.noreply.github.com>"] license = "MIT OR Apache-2.0" @@ -11,10 +11,10 @@ repository = "https://github.com/JonahPlusPlus/bevy_spectator" exclude = ["/examples/"] [dependencies] -bevy = { version = "0.13", default-features = false } +bevy = { version = "0.14", default-features = false } [dev-dependencies] -bevy = { version = "0.13", default-features = false, features = [ +bevy = { version = "0.14", default-features = false, features = [ "bevy_asset", "bevy_core_pipeline", "bevy_pbr", diff --git a/README.md b/README.md index c86564f..20ac306 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,7 @@ fn setup(mut commands: Commands) { | bevy | bevy_spectator | |------|----------------| +| 0.14 | 0.6 | | 0.13 | 0.5 | | 0.12 | 0.4 | | 0.11 | 0.3 | diff --git a/examples/3d_scene.rs b/examples/3d_scene.rs index 88a9f22..b528136 100644 --- a/examples/3d_scene.rs +++ b/examples/3d_scene.rs @@ -23,14 +23,14 @@ fn setup( ) { // plane commands.spawn(PbrBundle { - mesh: meshes.add(Plane3d::new(Vec3::Y).mesh().size(5.0, 5.0)), - material: materials.add(Color::rgb(0.3, 0.5, 0.3)), + mesh: meshes.add(Plane3d::default().mesh().size(5.0, 5.0)), + material: materials.add(Color::srgb(0.3, 0.5, 0.3)), ..default() }); // cube commands.spawn(PbrBundle { mesh: meshes.add(Cuboid::default()), - material: materials.add(Color::rgb(0.8, 0.7, 0.6)), + material: materials.add(Color::srgb(0.8, 0.7, 0.6)), transform: Transform::from_xyz(0.0, 0.5, 0.0), ..default() });