From bda898a1f1ebfd683000c6cc9e6d0a18ecbb05e2 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Fri, 1 Sep 2023 20:27:28 -0700 Subject: [PATCH] struct style init straggler --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 2b04b3a..87c014d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -231,7 +231,7 @@ impl strafe_client::framework::Example for Skybox { time: Instant::now(), pos: glam::Vec3::new(5.0,0.0,5.0), vel: glam::Vec3::new(0.0,0.0,0.0), - gravity: glam::Vec3 { x: 0.0, y: -100.0, z: 0.0 }, + gravity: glam::Vec3::new(0.0,-100.0,0.0), friction: 90.0, screen_size: (config.width, config.height), offset: glam::Vec3::new(0.0,4.5,0.0),