From 27165be902537232adf3c3f94d4467de01f7e048 Mon Sep 17 00:00:00 2001 From: ZappoMan Date: Sat, 13 Apr 2013 13:19:48 -0700 Subject: [PATCH] tweak starting fov adjust to 1.65 which seems correct --- libraries/voxels/src/ViewFrustum.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/voxels/src/ViewFrustum.cpp b/libraries/voxels/src/ViewFrustum.cpp index d7e87d36b3..73cce9baad 100644 --- a/libraries/voxels/src/ViewFrustum.cpp +++ b/libraries/voxels/src/ViewFrustum.cpp @@ -10,7 +10,7 @@ #include "ViewFrustum.h" -float ViewFrustum::fovAngleAdust=1.75; +float ViewFrustum::fovAngleAdust=1.65; ViewFrustum::ViewFrustum(glm::vec3 position, glm::vec3 direction, glm::vec3 up, glm::vec3 right, float screenWidth, float screenHeight) { @@ -41,8 +41,8 @@ void ViewFrustum::calculateViewFrustum(glm::vec3 position, glm::vec3 direction, // Calculating field of view. // 0.7854f is 45 deg - // ViewFrustum::fovAngleAdust defaults to 1.75 - // Apparently our fov is around 1.75 times this value or 78.75 degrees + // ViewFrustum::fovAngleAdust defaults to 1.65 + // Apparently our fov is around 1.75 times this value or 74.25 degrees // you can adjust this in interface by using the "|" and "\" keys to tweak // the adjustment and see effects of different FOVs float fovHalfAngle = 0.7854f * ViewFrustum::fovAngleAdust;