Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackPhlox committed Jul 16, 2023
1 parent a854869 commit 0a64028
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/dolly/handedness.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/dolly/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ pub mod drivers;
pub mod handedness;
pub mod prelude;
pub mod rig;
pub mod util;
pub mod util;
5 changes: 4 additions & 1 deletion src/drivers/follow.rs
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
5 changes: 4 additions & 1 deletion src/drivers/fpv.rs
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down

0 comments on commit 0a64028

Please sign in to comment.