mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-06 11:23:18 +02:00
Increase default vertical FOV
This commit is contained in:
parent
647dbf9cea
commit
69105e716a
2 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@ const int NUM_FRUSTUM_CORNERS = 8;
|
||||||
const int NUM_FRUSTUM_PLANES = 6;
|
const int NUM_FRUSTUM_PLANES = 6;
|
||||||
|
|
||||||
const float DEFAULT_CENTER_SPHERE_RADIUS = 3.0f;
|
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_ASPECT_RATIO = 16.0f/9.0f;
|
||||||
const float DEFAULT_NEAR_CLIP = 0.08f;
|
const float DEFAULT_NEAR_CLIP = 0.08f;
|
||||||
const float DEFAULT_FAR_CLIP = 16384.0f;
|
const float DEFAULT_FAR_CLIP = 16384.0f;
|
||||||
|
|
|
@ -19,7 +19,7 @@ var Y_AXIS = {x: 0, y: 1, z: 0};
|
||||||
var X_AXIS = {x: 1, y: 0, z: 0};
|
var X_AXIS = {x: 1, y: 0, z: 0};
|
||||||
var DEFAULT_DPI = 31;
|
var DEFAULT_DPI = 31;
|
||||||
var DEFAULT_WIDTH = 0.4375;
|
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 SENSOR_TO_ROOM_MATRIX = -2;
|
||||||
var CAMERA_MATRIX = -7;
|
var CAMERA_MATRIX = -7;
|
||||||
var ROT_Y_180 = {x: 0.0, y: 1.0, z: 0, w: 0};
|
var ROT_Y_180 = {x: 0.0, y: 1.0, z: 0, w: 0};
|
||||||
|
|
Loading…
Reference in a new issue