Skip to content

Commit

Permalink
minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ezpuzz committed Dec 15, 2020
1 parent d99c48a commit b8b59e0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
1 change: 0 additions & 1 deletion amethyst_audio/src/systems/audio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ use std::{

use amethyst_core::{ecs::*, math::convert, transform::Transform};
use rodio::SpatialSink;
use systems::ParallelRunnable;
#[cfg(feature = "profiler")]
use thread_profiler::profile_scope;

Expand Down
4 changes: 2 additions & 2 deletions amethyst_audio/src/systems/dj.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ use crate::{
#[derive(Debug)]
pub struct DjSystemBundle<F, R>
where
F: FnMut(&mut R) -> Option<SourceHandle> + Send + Sync + 'static + Copy,
F: FnMut(&mut R) -> Option<SourceHandle> + Send + Sync + 'static,
R: Send + Sync + 'static,
{
f: F,
Expand All @@ -26,7 +26,7 @@ where

impl<F, R> DjSystemBundle<F, R>
where
F: FnMut(&mut R) -> Option<SourceHandle> + Send + Sync + 'static + Copy,
F: FnMut(&mut R) -> Option<SourceHandle> + Send + Sync + 'static,
R: Send + Sync + 'static,
{
/// Creates a new [DjSystemBundle] where [f] is a function which produces music [SourceHandle].
Expand Down
6 changes: 3 additions & 3 deletions amethyst_core/src/transform/bundle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ impl SystemBundle for TransformBundle {
builder: &mut DispatcherBuilder,
) -> Result<(), Error> {
builder
.add_system(Box::new(MissingPreviousParentSystem {}))
.add_system(Box::new(ParentUpdateSystem {}))
.add_system(Box::new(TransformSystem {}));
.add_system(Box::new(MissingPreviousParentSystem))
.add_system(Box::new(ParentUpdateSystem))
.add_system(Box::new(TransformSystem));

Ok(())
}
Expand Down
2 changes: 1 addition & 1 deletion amethyst_rendy/src/sprite_visibility.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
use std::cmp::Ordering;

use amethyst_core::{
ecs::{systems::ParallelRunnable, *},
ecs::*,
math::{Point3, Vector3},
transform::Transform,
Hidden, HiddenPropagate,
Expand Down

0 comments on commit b8b59e0

Please sign in to comment.