From 43883e8c6cfabb9f6f5b445cd169a64b239a5b0e Mon Sep 17 00:00:00 2001 From: nullprop Date: Sun, 16 Apr 2023 14:57:07 +0300 Subject: [PATCH] increase near plane --- src/core/camera.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/camera.rs b/src/core/camera.rs index 7ed2f3e..1946bcf 100644 --- a/src/core/camera.rs +++ b/src/core/camera.rs @@ -3,7 +3,7 @@ use std::time::Duration; use cgmath::num_traits::clamp; use winit::{dpi::PhysicalPosition, event::*}; -pub const NEAR_PLANE: f32 = 0.1; +pub const NEAR_PLANE: f32 = 1.0; pub const FAR_PLANE: f32 = 3000.0; pub struct Camera {