From 89fad401fbcca7d059045bae4419da0c55a0d855 Mon Sep 17 00:00:00 2001 From: HampusM Date: Thu, 26 Oct 2023 23:47:42 +0200 Subject: fix(engine): use correct far & near perspective projection args --- engine/src/renderer/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/renderer/mod.rs b/engine/src/renderer/mod.rs index b9494b6..6c56964 100644 --- a/engine/src/renderer/mod.rs +++ b/engine/src/renderer/mod.rs @@ -232,8 +232,8 @@ fn apply_transformation_matrices( let projection = new_perspective( 80.0f32.to_radians(), window_size.width as f32 / window_size.height as f32, - 0.1, 100.0, + 0.1, ); object -- cgit v1.2.3-18-g5258