Skip to content

Commit

Permalink
refactor: dirs
Browse files Browse the repository at this point in the history
  • Loading branch information
mrchantey committed Oct 20, 2024
1 parent 03fd693 commit e29426d
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 19 deletions.
4 changes: 0 additions & 4 deletions crates/beet_examples/examples/emoji.rs

This file was deleted.

2 changes: 1 addition & 1 deletion crates/beet_examples/examples/interaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ fn main() {
beetmash::core::scenes::lighting_3d,
beetmash::core::scenes::ground_3d,
beetmash::core::scenes::ui_terminal_input,
spawn_barbarian,
beet_examples::emote_agent::scenes::spawn_barbarian,
),
)
// .add_systems(Update,disable_barbarian)
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
pub mod barbarian;
#[allow(unused_imports)]
pub use self::barbarian::*;
pub mod emoji;
#[allow(unused_imports)]
pub use self::emoji::*;
Expand All @@ -19,3 +16,4 @@ pub use self::ik_spawner::*;
pub mod render_texture;
#[allow(unused_imports)]
pub use self::render_texture::*;
pub mod scenes;
9 changes: 9 additions & 0 deletions crates/beet_examples/src/emote_agent/scenes/mod.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
pub mod barbarian;
#[allow(unused_imports)]
pub use self::barbarian::*;
pub mod inverse_kinematics;
#[allow(unused_imports)]
pub use self::inverse_kinematics::*;
pub mod phone_screen;
#[allow(unused_imports)]
pub use self::phone_screen::*;
4 changes: 2 additions & 2 deletions crates/beet_examples/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
// #![allow(unused, dead_code)]
pub mod components;
pub mod plugins;
pub mod robot_arm;
pub mod emote_agent;
pub mod scenes;

pub mod prelude {
pub use crate::components::*;
pub use crate::plugins::*;
pub use crate::robot_arm::*;
pub use crate::emote_agent::*;
}


Expand Down
6 changes: 0 additions & 6 deletions crates/beet_examples/src/scenes/spatial/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@ pub use self::forage::*;
pub mod hello_animation;
#[allow(unused_imports)]
pub use self::hello_animation::*;
pub mod inverse_kinematics;
#[allow(unused_imports)]
pub use self::inverse_kinematics::*;
pub mod phone_screen;
#[allow(unused_imports)]
pub use self::phone_screen::*;
pub mod seek;
#[allow(unused_imports)]
pub use self::seek::*;
Expand Down
6 changes: 3 additions & 3 deletions examples/inverse_kinematics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ pub fn main() {
(
beetmash::core::scenes::lighting_3d,
beetmash::core::scenes::ground_3d,
beet_examples::robot_arm::create_render_camera,
beet_examples::scenes::spatial::phone_screen,
beet_examples::scenes::spatial::inverse_kinematics,
beet_examples::emote_agent::create_render_camera,
beet_examples::emote_agent::scenes::inverse_kinematics,
beet_examples::emote_agent::scenes::phone_screen,
),
)
.run();
Expand Down

0 comments on commit e29426d

Please sign in to comment.