Skip to content

Commit

Permalink
0.2.0 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
DotWith committed Jul 19, 2023
1 parent 7646e93 commit 04fec38
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions bevy_rmesh/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bevy_rmesh"
version = "0.1.3"
version = "0.2.0"
edition = "2021"
license = "MIT OR Apache-2.0"
description = "A Bevy extension for RMesh loading"
Expand All @@ -17,7 +17,7 @@ anyhow = "1.0.68"
rmesh = { path = "../rmesh", version = "0.3.2" }

[dev-dependencies]
bevy = "0.10.1"
bevy = "0.11.0"

[[example]]
name = "view"
Expand Down
4 changes: 2 additions & 2 deletions bevy_rmesh/examples/view.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ use bevy_rmesh::RMeshPlugin;
fn main() {
App::new()
.add_plugins(DefaultPlugins)
.add_plugin(RMeshPlugin)
.add_startup_system(setup)
.add_plugins(RMeshPlugin)
.add_systems(Startup, setup)
.run();
}

Expand Down
6 changes: 3 additions & 3 deletions bevy_rmesh/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pub use rmesh;

mod loader;

use bevy::{prelude::*, reflect::TypeUuid};
use bevy::{prelude::*, reflect::{TypeUuid, TypePath}};

#[derive(Default)]
pub struct RMeshPlugin;
Expand All @@ -16,15 +16,15 @@ impl Plugin for RMeshPlugin {
}
}

#[derive(Debug, TypeUuid)]
#[derive(Debug, TypeUuid, TypePath)]
#[uuid = "f652caee-aace-49da-9ea3-a314de33b38f"]
pub struct Room {
pub scene: Handle<Scene>,
pub meshes: Vec<RoomMesh>,
// pub entity_meshes: Vec<RoomMesh>,
}

#[derive(Debug, TypeUuid)]
#[derive(Debug, TypeUuid, TypePath)]
#[uuid = "2d373e3d-cb2a-468c-ab25-2724f624dd2f"]
pub struct RoomMesh {
pub mesh: Handle<Mesh>,
Expand Down

0 comments on commit 04fec38

Please sign in to comment.