From fe440249c3f699f4d60035654bed82d5d261c104 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Mon, 20 Jan 2025 09:01:32 -0800 Subject: [PATCH] move tests to physics --- strafe-client/src/physics.rs | 82 ++++++++++++++++++++++++++++++++++- strafe-client/src/session.rs | 84 ------------------------------------ 2 files changed, 81 insertions(+), 85 deletions(-) diff --git a/strafe-client/src/physics.rs b/strafe-client/src/physics.rs index 9f8ca750..21fd44ed 100644 --- a/strafe-client/src/physics.rs +++ b/strafe-client/src/physics.rs @@ -1902,8 +1902,9 @@ fn atomic_input_instruction(state:&mut PhysicsState,data:&PhysicsData,ins:TimedI #[cfg(test)] mod test{ - use strafesnet_common::integer::{vec3::{self,int as int3},mat3}; + use crate::file; use crate::body::VirtualBody; + use strafesnet_common::integer::{vec3::{self,int as int3},mat3}; use super::*; fn test_collision_axis_aligned(relative_body:Body,expected_collision_time:Option