diff options
author | HampusM <hampus@hampusmat.com> | 2023-10-26 23:47:42 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2023-10-26 23:47:42 +0200 |
commit | 89fad401fbcca7d059045bae4419da0c55a0d855 (patch) | |
tree | 0e777d76e0c27adfaf2da0b067d34f5a64f7227c /engine/src/renderer/mod.rs | |
parent | eab619bd5cfc520d3962097d16582eae6977d6dc (diff) |
fix(engine): use correct far & near perspective projection args
Diffstat (limited to 'engine/src/renderer/mod.rs')
-rw-r--r-- | engine/src/renderer/mod.rs | 2 |
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 |