Skip to content

Commit

Permalink
Removed old noted out code
Browse files Browse the repository at this point in the history
  • Loading branch information
craigmayhew committed Apr 13, 2020
1 parent fdd9cb2 commit 46d778f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/systems/camera_movement.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,10 @@ impl<'s> System<'s> for CameraMovementSystem {
);

fn run(&mut self, (cameras, names, mut transforms, input_handler, time): Self::SystemData) {
//println!("run CameraMovementSystem System");
//delta_real_seconds() allows us to move at a consistent speed, irrespective of the frame rate
let delta_time = time.delta_real_seconds();
let move_factor = 1000.0 * delta_time;
for (_, name, transform) in (&cameras, &names, &mut transforms).join() {
//println!("camera: {}", name.name);

if name.name == "Main camera" {
// move up / down
if input_handler.action_is_down("CameraMoveUp").unwrap_or(false) {
Expand Down

0 comments on commit 46d778f

Please sign in to comment.