Skip to content

Commit

Permalink
player: bigger FoV.
Browse files Browse the repository at this point in the history
  • Loading branch information
mosra committed Sep 6, 2018
1 parent 7f70879 commit 6000b10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/player/Player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ void Player::load(Trade::AbstractImporter& importer) {
/* Basic camera setup */
(*(_data->camera = new SceneGraph::Camera3D{*_data->cameraObject}))
.setAspectRatioPolicy(SceneGraph::AspectRatioPolicy::Extend)
.setProjectionMatrix(Matrix4::perspectiveProjection(35.0_degf, 1.0f, 0.01f, 1000.0f))
.setProjectionMatrix(Matrix4::perspectiveProjection(75.0_degf, 1.0f, 0.01f, 1000.0f))
.setViewport(GL::defaultFramebuffer.viewport().size());

/* Use the settings with parameters of the camera in the model, if any,
Expand Down

0 comments on commit 6000b10

Please sign in to comment.