Skip to content

Commit

Permalink
increase camera view distance from 10 to 100
Browse files Browse the repository at this point in the history
  • Loading branch information
wobakj committed Oct 16, 2016
1 parent ccd2ccc commit f866350
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/source/launcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ void Launcher::update_projection(GLFWwindow* m_window, int width, int height) {
fov_y = 2.0f * glm::atan(glm::tan(m_camera_fov * 0.5f) * (1.0f / aspect));
}
// projection is hor+
glm::fmat4 camera_projection = glm::perspective(fov_y, aspect, 0.1f, 10.0f);
glm::fmat4 camera_projection = glm::perspective(fov_y, aspect, 0.1f, 100.0f);
// upload matrix to gpu
m_application->setProjection(camera_projection);
}
Expand Down

0 comments on commit f866350

Please sign in to comment.