diff options
author | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2018-08-05 17:35:46 +0200 |
---|---|---|
committer | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2018-08-05 17:35:46 +0200 |
commit | 57506df1d2ca15f1fd43719e11f0459593a1a0f1 (patch) | |
tree | 69fe8dac039e8e20444969db4f03fc35b703a7bb | |
parent | Added ERROR-texture (diff) | |
download | AltCraft-57506df1d2ca15f1fd43719e11f0459593a1a0f1.tar AltCraft-57506df1d2ca15f1fd43719e11f0459593a1a0f1.tar.gz AltCraft-57506df1d2ca15f1fd43719e11f0459593a1a0f1.tar.bz2 AltCraft-57506df1d2ca15f1fd43719e11f0459593a1a0f1.tar.lz AltCraft-57506df1d2ca15f1fd43719e11f0459593a1a0f1.tar.xz AltCraft-57506df1d2ca15f1fd43719e11f0459593a1a0f1.tar.zst AltCraft-57506df1d2ca15f1fd43719e11f0459593a1a0f1.zip |
-rw-r--r-- | src/RendererWorld.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |