mirror of https://github.com/bjornbytes/lovr.git
Adjust desktop fov;
This commit is contained in:
parent
804a1e6844
commit
cb59f64a7b
|
@ -104,7 +104,7 @@ static bool desktop_getViewAngles(uint32_t view, float* left, float* right, floa
|
|||
uint32_t width, height;
|
||||
desktop_getDisplayDimensions(&width, &height);
|
||||
aspect = (float) width / height;
|
||||
fov = .5f;
|
||||
fov = .7f;
|
||||
*left = atanf(tanf(fov) * aspect);
|
||||
*right = atanf(tanf(fov) * aspect);
|
||||
*up = fov;
|
||||
|
|
Loading…
Reference in New Issue