From 69105e716a148d6aa14db51f20a048e501b726a7 Mon Sep 17 00:00:00 2001 From: Karol Suprynowicz Date: Sun, 30 Jun 2024 20:59:32 +0200 Subject: [PATCH] Increase default vertical FOV --- libraries/shared/src/ViewFrustum.h | 2 +- scripts/system/libraries/WebTablet.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/shared/src/ViewFrustum.h b/libraries/shared/src/ViewFrustum.h index 9c80538e60..672ad74d36 100644 --- a/libraries/shared/src/ViewFrustum.h +++ b/libraries/shared/src/ViewFrustum.h @@ -28,7 +28,7 @@ const int NUM_FRUSTUM_CORNERS = 8; const int NUM_FRUSTUM_PLANES = 6; const float DEFAULT_CENTER_SPHERE_RADIUS = 3.0f; -const float DEFAULT_FIELD_OF_VIEW_DEGREES = 45.0f; +const float DEFAULT_FIELD_OF_VIEW_DEGREES = 55.0f; const float DEFAULT_ASPECT_RATIO = 16.0f/9.0f; const float DEFAULT_NEAR_CLIP = 0.08f; const float DEFAULT_FAR_CLIP = 16384.0f; diff --git a/scripts/system/libraries/WebTablet.js b/scripts/system/libraries/WebTablet.js index 3e5f487695..0adf182321 100644 --- a/scripts/system/libraries/WebTablet.js +++ b/scripts/system/libraries/WebTablet.js @@ -19,7 +19,7 @@ var Y_AXIS = {x: 0, y: 1, z: 0}; var X_AXIS = {x: 1, y: 0, z: 0}; var DEFAULT_DPI = 31; var DEFAULT_WIDTH = 0.4375; -var DEFAULT_VERTICAL_FIELD_OF_VIEW = 45; // degrees +var DEFAULT_VERTICAL_FIELD_OF_VIEW = 55; // degrees var SENSOR_TO_ROOM_MATRIX = -2; var CAMERA_MATRIX = -7; var ROT_Y_180 = {x: 0.0, y: 1.0, z: 0, w: 0};