Skip to content

Commit

Permalink
Fixup some use statements.
Browse files Browse the repository at this point in the history
  • Loading branch information
andriyDev committed Jun 29, 2024
1 parent 2bbdf5a commit a2bc849
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions crates/bevy_landmass/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ pub mod prelude {
pub use crate::LandmassPlugin;
pub use crate::LandmassSystemSet;
pub use crate::NavMesh;
pub use landmass::NavigationMesh;
pub use landmass::ValidNavigationMesh;
pub use crate::NavigationMesh;
pub use crate::ValidNavigationMesh;
}

/// A bundle to create agents. This omits the GlobalTransform component, since
Expand Down Expand Up @@ -217,7 +217,7 @@ pub struct Island;

/// An asset holding a `landmass` nav mesh.
#[derive(Asset, TypePath)]
pub struct NavMesh(pub Arc<landmass::ValidNavigationMesh>);
pub struct NavMesh(pub Arc<ValidNavigationMesh>);

/// Ensures every Bevy island has a corresponding `landmass` island.
fn add_islands_to_archipelago(
Expand Down
2 changes: 1 addition & 1 deletion crates/bevy_landmass/src/nav_mesh.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
use crate::NavigationMesh;
use bevy::{
prelude::Mesh,
render::{
mesh::{Indices, VertexAttributeValues::Float32x3},
render_resource::PrimitiveTopology,
},
};
use landmass::NavigationMesh;

/// A conversion error for Bevy meshes to `landmass` nav meshes.
#[derive(Debug, Clone, PartialEq, Eq)]
Expand Down

0 comments on commit a2bc849

Please sign in to comment.