summaryrefslogtreecommitdiff
path: root/engine/src
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2023-10-26 23:47:42 +0200
committerHampusM <hampus@hampusmat.com>2023-10-26 23:47:42 +0200
commit89fad401fbcca7d059045bae4419da0c55a0d855 (patch)
tree0e777d76e0c27adfaf2da0b067d34f5a64f7227c /engine/src
parenteab619bd5cfc520d3962097d16582eae6977d6dc (diff)
fix(engine): use correct far & near perspective projection args
Diffstat (limited to 'engine/src')
-rw-r--r--engine/src/renderer/mod.rs2
1 files changed, 1 insertions, 1 deletions
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