summaryrefslogtreecommitdiff
path: root/src/glwidget.cpp
diff options
context:
space:
mode:
authorSebastian Park <SebPark03@gmail.com>2024-04-10 13:02:37 -0400
committerSebastian Park <SebPark03@gmail.com>2024-04-10 13:02:37 -0400
commit5233a708a165ba8a3153e054ce74eb11084c0158 (patch)
tree73ef81a5c495d99cf0031f5a2e0468656e82cda2 /src/glwidget.cpp
parent0b0629450e2553b2f890094290528b565d607e38 (diff)
Fix near plane.
Diffstat (limited to 'src/glwidget.cpp')
-rwxr-xr-xsrc/glwidget.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/glwidget.cpp b/src/glwidget.cpp
index 2801251..32a28f5 100755
--- a/src/glwidget.cpp
+++ b/src/glwidget.cpp
@@ -95,7 +95,8 @@ void GLWidget::initializeGL()
// Note for maintainers: Z-up
float fovY = 120;
- float nearPlane = 0.0001f;
+// float nearPlane = 0.0001f;
+ float nearPlane = 0.01;
float farPlane = 3 * extentLength;
// Initialize camera with a reasonable transform