From 57506df1d2ca15f1fd43719e11f0459593a1a0f1 Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Sun, 5 Aug 2018 20:35:46 +0500 Subject: Fixed FOV --- src/RendererWorld.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RendererWorld.cpp b/src/RendererWorld.cpp index d4586f5..dcfcc24 100644 --- a/src/RendererWorld.cpp +++ b/src/RendererWorld.cpp @@ -269,7 +269,7 @@ void RendererWorld::Render(RenderState & renderState) { //Common GLint projectionLoc, viewLoc, modelLoc, pvLoc, windowSizeLoc, colorLoc; glm::mat4 projection = glm::perspective( - 45.0f, (float) renderState.WindowWidth / (float) renderState.WindowHeight, + glm::radians(70.0f), (float) renderState.WindowWidth / (float) renderState.WindowHeight, 0.1f, 10000000.0f ); glm::mat4 view = gs->GetViewMatrix(); -- cgit v1.2.3