X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fgraphics%2Fviewport.cpp;h=17c99c7a8ff9a05b6a9a6974fb664534c917286b;hb=33346e9a5c58e92e4d7cc7cb542cf5abb7ffeb25;hp=4ee85c86b3c01ab15709236341a09284492a2fe7;hpb=dfe661278fe5fd69e821d530d50b78082d19ce54;p=tacos.git diff --git a/src/graphics/viewport.cpp b/src/graphics/viewport.cpp index 4ee85c8..17c99c7 100644 --- a/src/graphics/viewport.cpp +++ b/src/graphics/viewport.cpp @@ -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)) {