From af1602cfbb2fb1696744740b0dc5a9ebb70ec505 Mon Sep 17 00:00:00 2001 From: -karlos- Date: Wed, 29 Nov 2023 20:58:43 +0100 Subject: [PATCH] format corrected --- src/flycam.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flycam.rs b/src/flycam.rs index 4e201f3..1ba7d9f 100644 --- a/src/flycam.rs +++ b/src/flycam.rs @@ -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 {