Skip to content

Commit

Permalink
format corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
-karlos- committed Nov 29, 2023
1 parent e2865a1 commit af1602c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flycam.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ fn setup(
let view = 30.0_f32.to_radians(); // default camera view 30 degrees down from horizontal. Todo: user parameter "view"
let target_x = dist * view.cos();
let transform =
Transform::from_translation(pos * dist).looking_at(Vec3::new( target_x, 0.3, 0.0), pos);
Transform::from_translation(pos * dist).looking_at(Vec3::new(target_x, 0.3, 0.0), pos);
movement_settings.up = pos;

let material = materials.add(StandardMaterial {
Expand Down

0 comments on commit af1602c

Please sign in to comment.