Skip to content

Commit da485e7

Browse files
committed
refactor: move bevy integration things to different module
1 parent ad92870 commit da485e7

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/bevy_int/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
pub mod bevy_channel;
22
pub mod color;
33
pub mod entity_handle;
4+
pub mod spectator_cam;
5+
pub mod tracking_offset;

src/main.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,13 @@ mod core;
77
mod nodes;
88
mod objects;
99
mod session;
10-
mod spectator_cam;
11-
pub mod tracking_offset;
1210
#[cfg(feature = "wayland")]
1311
mod wayland;
1412

13+
use crate::bevy_int::spectator_cam::SpectatorCameraPlugin;
14+
use crate::bevy_int::tracking_offset::TrackingOffsetPlugin;
1515
use crate::nodes::drawable::sky::SkyPlugin;
1616
use crate::nodes::input;
17-
use crate::spectator_cam::SpectatorCameraPlugin;
1817

1918
use bevy::MinimalPlugins;
2019
use bevy::a11y::AccessibilityPlugin;
@@ -83,7 +82,6 @@ use tracing::metadata::LevelFilter;
8382
use tracing::{error, info};
8483
use tracing_subscriber::filter::Directive;
8584
use tracing_subscriber::{EnvFilter, fmt, prelude::*};
86-
use tracking_offset::TrackingOffsetPlugin;
8785
#[cfg(feature = "wayland")]
8886
use wayland::{Wayland, WaylandPlugin};
8987
use zbus::Connection;

0 commit comments

Comments
 (0)