From 5f444841ac5edc163c6262e5b85fbb0b8c8833b2 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Thu, 7 Sep 2023 20:07:22 -0700 Subject: [PATCH] reorder elements --- src/body.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/body.rs b/src/body.rs index 361b752..8272550 100644 --- a/src/body.rs +++ b/src/body.rs @@ -6,14 +6,16 @@ pub struct Body { pub struct PhysicsState { pub body: Body, + //pub contacts: Vec, pub time: TIME, pub strafe_tick_rate: TIME, pub tick: u32, - pub gravity: glam::Vec3, - pub friction: f32, pub mv: f32, - pub grounded: bool, pub walkspeed: f32, + pub friction: f32, + pub gravity: glam::Vec3, + pub grounded: bool, + pub jump_trying: bool, } pub type TIME = i64;