From b536154f912b1f35a548acebc2f6d7fff171e806 Mon Sep 17 00:00:00 2001 From: HampusM Date: Tue, 28 Nov 2023 20:41:25 +0100 Subject: chore(engine): rename the Camera method up to global_up --- engine/src/renderer/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/src/renderer') 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 { 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 } -- cgit v1.2.3-18-g5258