Skip to content

Commit f866350

Browse files
author
wobakj
committed
increase camera view distance from 10 to 100
1 parent ccd2ccc commit f866350

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

framework/source/launcher.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ void Launcher::update_projection(GLFWwindow* m_window, int width, int height) {
147147
fov_y = 2.0f * glm::atan(glm::tan(m_camera_fov * 0.5f) * (1.0f / aspect));
148148
}
149149
// projection is hor+
150-
glm::fmat4 camera_projection = glm::perspective(fov_y, aspect, 0.1f, 10.0f);
150+
glm::fmat4 camera_projection = glm::perspective(fov_y, aspect, 0.1f, 100.0f);
151151
// upload matrix to gpu
152152
m_application->setProjection(camera_projection);
153153
}

0 commit comments

Comments
 (0)