increase near plane

This commit is contained in:
Lauri Räsänen 2023-04-16 14:57:07 +03:00
parent 718c9fdeb8
commit 43883e8c6c

View file

@ -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 {