fix roblox camera offset
This commit is contained in:
parent
2f0a073fd5
commit
7544c6e6ef
@ -285,7 +285,7 @@ impl strafe_client::framework::Example for Skybox {
|
|||||||
|
|
||||||
let camera = Camera {
|
let camera = Camera {
|
||||||
screen_size: (config.width, config.height),
|
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)
|
fov: 1.0, //fov_slope = tan(fov_y/2)
|
||||||
pitch: 0.0,
|
pitch: 0.0,
|
||||||
yaw: 0.0,
|
yaw: 0.0,
|
||||||
|
Loading…
Reference in New Issue
Block a user