From 7544c6e6ef10c4d8ca363a901b408a3b2a765ec0 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Mon, 18 Sep 2023 19:47:15 -0700 Subject: [PATCH] fix roblox camera offset --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 423c109..8c6a3ce 100644 --- a/src/main.rs +++ b/src/main.rs @@ -285,7 +285,7 @@ impl strafe_client::framework::Example for Skybox { let camera = Camera { screen_size: (config.width, config.height), - offset: glam::Vec3::new(0.0,4.5,0.0), + offset: glam::Vec3::new(0.0,4.5-2.5,0.0), fov: 1.0, //fov_slope = tan(fov_y/2) pitch: 0.0, yaw: 0.0,