summaryrefslogtreecommitdiff
path: root/src/state.rs
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2024-04-13 20:34:28 -0400
committerLLLL Colonq <llll@colonq>2024-04-13 20:34:28 -0400
commitf0b945d378a157a780f56b1fc015b7937e151852 (patch)
tree3caddd259ad14a225cd3984726b3d44bac8b6d4a /src/state.rs
parent17eb85df48b64dd9d391cad28f58355e05ed2855 (diff)
Bugfixes, texture filtering
Diffstat (limited to 'src/state.rs')
-rw-r--r--src/state.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/state.rs b/src/state.rs
index d2b9bad..7a9cdbe 100644
--- a/src/state.rs
+++ b/src/state.rs
@@ -92,8 +92,9 @@ impl State {
projection: glam::Mat4::perspective_lh(
std::f32::consts::PI / 4.0,
context::RENDER_WIDTH / context::RENDER_HEIGHT,
- 0.1,
- 400.0,
+ // 0.1,
+ 0.5,
+ 50.0,
),
camera: (glam::Vec3::new(0.0, 0.0, 0.0), glam::Vec3::new(0.0, 0.0, 1.0), glam::Vec3::new(0.0, 1.0, 0.0)),
lighting: (