diff options
| author | Sebastian Park <SebPark03@gmail.com> | 2024-04-10 13:02:37 -0400 |
|---|---|---|
| committer | Sebastian Park <SebPark03@gmail.com> | 2024-04-10 13:02:37 -0400 |
| commit | 5233a708a165ba8a3153e054ce74eb11084c0158 (patch) | |
| tree | 73ef81a5c495d99cf0031f5a2e0468656e82cda2 | |
| parent | 0b0629450e2553b2f890094290528b565d607e38 (diff) | |
Fix near plane.
| -rwxr-xr-x | src/glwidget.cpp | 3 |
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 |
