]> git.localhorst.tv Git - tacos.git/blobdiff - src/graphics/viewport.cpp
controllable camera
[tacos.git] / src / graphics / viewport.cpp
index 4ee85c86b3c01ab15709236341a09284492a2fe7..17c99c7a8ff9a05b6a9a6974fb664534c917286b 100644 (file)
@@ -12,7 +12,7 @@ Viewport::Viewport(int w, int h)
 , fov(0.78539816339744830961f) // π/4
 , aspect(float(w) / float(h))
 , near(0.1f)
-, far(100.0f)
+, far(256.0f)
 , perspective(glm::perspective(fov, aspect, near, far))
 , ortho(glm::ortho(0.0f, float(width), float(height), 0.0f, near, far)) {