From c080f3f0c1444a3321e91187e4915fafc24e52e3 Mon Sep 17 00:00:00 2001 From: Saverio Miroddi Date: Sun, 10 Jul 2022 18:40:22 +0200 Subject: [PATCH 01/10] player_controller: Split in two stages, as preparation for camera bounds --- src/movement.rs | 75 +++++++++++++++++++++++++++++-------------------- 1 file changed, 44 insertions(+), 31 deletions(-) diff --git a/src/movement.rs b/src/movement.rs index 15c35239..2ba0f465 100644 --- a/src/movement.rs +++ b/src/movement.rs @@ -51,44 +51,57 @@ pub fn player_controller( >, time: Res