diff --git a/src/dolly/handedness.rs b/src/dolly/handedness.rs index 6a013d8..ed0298d 100644 --- a/src/dolly/handedness.rs +++ b/src/dolly/handedness.rs @@ -3,7 +3,6 @@ use std::fmt::Debug; use bevy_math::{vec3, Vec3}; //use glam::Vec3; - pub trait Handedness: Clone + Copy + Debug + 'static { const FORWARD_Z_SIGN: f32; const FORWARD: Vec3 = vec3(0.0, 0.0, Self::FORWARD_Z_SIGN); diff --git a/src/dolly/mod.rs b/src/dolly/mod.rs index b9db4d1..e8b37e3 100644 --- a/src/dolly/mod.rs +++ b/src/dolly/mod.rs @@ -3,4 +3,4 @@ pub mod drivers; pub mod handedness; pub mod prelude; pub mod rig; -pub mod util; \ No newline at end of file +pub mod util; diff --git a/src/drivers/follow.rs b/src/drivers/follow.rs index 9970009..1f6a7ea 100644 --- a/src/drivers/follow.rs +++ b/src/drivers/follow.rs @@ -1,5 +1,8 @@ +use crate::{ + dolly::{self, prelude::*}, + prelude::RigDriver, +}; use bevy::prelude::*; -use crate::{dolly::{prelude::*, self}, prelude::RigDriver}; impl MovableLookAt { pub fn from_position_target(target_position: Vec3) -> Self { diff --git a/src/drivers/fpv.rs b/src/drivers/fpv.rs index 7ab48fb..0e425c9 100644 --- a/src/drivers/fpv.rs +++ b/src/drivers/fpv.rs @@ -1,6 +1,9 @@ +use crate::{ + dolly, + prelude::{Position, Rotation, YawPitch}, +}; use bevy::prelude::*; use dolly::{driver::RigDriver, prelude::*}; -use crate::{dolly, prelude::{YawPitch, Position, Rotation}}; impl Fpv { pub fn from_position_target(target_transform: Transform) -> Self {