From cf202f52f097af3146a5cbc146b06467438016fa Mon Sep 17 00:00:00 2001 From: Quaternions Date: Sat, 14 Oct 2023 00:15:46 -0700 Subject: [PATCH] fixish test --- src/worker.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/worker.rs b/src/worker.rs index f1d3196..1626dad 100644 --- a/src/worker.rs +++ b/src/worker.rs @@ -74,14 +74,14 @@ implValue> CompatWorker { fn test_worker() { println!("hiiiii"); // Create the worker thread - let worker = Worker::new(crate::physics::Body::with_pva(glam::Vec3::ZERO,glam::Vec3::ZERO,glam::Vec3::ZERO), - |_|crate::physics::Body::with_pva(glam::Vec3::ONE,glam::Vec3::ONE,glam::Vec3::ONE) + let worker = Worker::new(crate::physics::Body::with_pva(crate::integer::Planar64Vec3::ZERO,crate::integer::Planar64Vec3::ZERO,crate::integer::Planar64Vec3::ZERO), + |_|crate::physics::Body::with_pva(crate::integer::Planar64Vec3::ONE,crate::integer::Planar64Vec3::ONE,crate::integer::Planar64Vec3::ONE) ); // Send tasks to the worker for _ in 0..5 { let task = crate::instruction::TimedInstruction{ - time:0, + time:crate::integer::Time::ZERO, instruction:crate::physics::PhysicsInstruction::StrafeTick, }; worker.send(task).unwrap(); @@ -95,7 +95,7 @@ fn test_worker() { // Send a new task let task = crate::instruction::TimedInstruction{ - time:0, + time:crate::integer::Time::ZERO, instruction:crate::physics::PhysicsInstruction::StrafeTick, }; worker.send(task).unwrap();