diff options
author | HampusM <hampus@hampusmat.com> | 2023-11-28 20:41:25 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2023-11-28 20:41:25 +0100 |
commit | b536154f912b1f35a548acebc2f6d7fff171e806 (patch) | |
tree | dfba57743c2f9fc53cdb84e0544801195b9252ac /engine/src/renderer | |
parent | 52c9ca106895f3e69000636fc6ef1ba18a486f69 (diff) |
chore(engine): rename the Camera method up to global_up
Diffstat (limited to 'engine/src/renderer')
-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 2c513ff..9996551 100644 --- a/engine/src/renderer/mod.rs +++ b/engine/src/renderer/mod.rs @@ -350,7 +350,7 @@ fn create_view(camera: &impl Camera) -> Matrix<f32, 4, 4> { let mut view = Matrix::new(); - view.look_at(&camera.position(), &camera.target(), &camera.up()); + view.look_at(&camera.position(), &camera.target(), &camera.global_up()); view } |