summaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorTyler Murphy <tylermurphy534@gmail.com>2022-09-26 11:03:27 -0400
committerTyler Murphy <tylermurphy534@gmail.com>2022-09-26 11:03:27 -0400
commitb579882324b6f20e04220f6cea735481abf18d47 (patch)
treeaf2670c05b49d9ba95cbc8769e781c091bba94db /engine
parentMSAA (diff)
downloadminecraftvulkan-b579882324b6f20e04220f6cea735481abf18d47.tar.gz
minecraftvulkan-b579882324b6f20e04220f6cea735481abf18d47.tar.bz2
minecraftvulkan-b579882324b6f20e04220f6cea735481abf18d47.zip
multichunk meshing
Diffstat (limited to 'engine')
-rw-r--r--engine/xe_engine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/xe_engine.cpp b/engine/xe_engine.cpp
index 37cba41..b138942 100644
--- a/engine/xe_engine.cpp
+++ b/engine/xe_engine.cpp
@@ -56,7 +56,7 @@ bool Engine::poll() {
frameTime = std::chrono::duration<float, std::chrono::seconds::period>(newTime - currentTime).count();
currentTime = newTime;
float aspect = xeRenderer.getAspectRatio();
- xeCamera.setPerspectiveProjection(glm::radians(FOV), aspect, 0.1f, 100.f);
+ xeCamera.setPerspectiveProjection(glm::radians(FOV), aspect, 0.1f, 1000.f);
return !xeWindow.shouldClose();
}