diff options
| author | Bastiaan Olij | 2017-12-03 22:32:42 +1100 |
|---|---|---|
| committer | Bastiaan Olij | 2017-12-03 22:32:42 +1100 |
| commit | 4f9dac5bb1a0195e3dd288167cbe58386037c5d8 (patch) | |
| tree | 83a554c4cf9f1a3b14dde70ee38fc9e6b66393ef /core/math/camera_matrix.cpp | |
| parent | af27414b1c10173584539186e396668a899e06b2 (diff) | |
| download | godot-4f9dac5bb1a0195e3dd288167cbe58386037c5d8.tar.gz godot-4f9dac5bb1a0195e3dd288167cbe58386037c5d8.tar.zst godot-4f9dac5bb1a0195e3dd288167cbe58386037c5d8.zip | |
Diffstat (limited to 'core/math/camera_matrix.cpp')
| -rw-r--r-- | core/math/camera_matrix.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/math/camera_matrix.cpp b/core/math/camera_matrix.cpp index c5f1d5744..42d2d0373 100644 --- a/core/math/camera_matrix.cpp +++ b/core/math/camera_matrix.cpp @@ -140,6 +140,7 @@ void CameraMatrix::set_for_hmd(int p_eye, real_t p_aspect, real_t p_intraocular_ real_t add = ((f1 + f2) * (p_oversample - 1.0)) / 2.0; f1 += add; f2 += add; + f3 *= p_oversample; // always apply KEEP_WIDTH aspect ratio f3 *= p_aspect; |
