From 5d9308ecccb7bf741aa80d11376df146a8f0450d Mon Sep 17 00:00:00 2001 From: Quaternions Date: Tue, 24 Oct 2023 19:09:55 -0700 Subject: [PATCH] fix physics worker output --- src/physics_worker.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/physics_worker.rs b/src/physics_worker.rs index 635474d..92e7d49 100644 --- a/src/physics_worker.rs +++ b/src/physics_worker.rs @@ -105,7 +105,7 @@ pub enum InputInstruction { } } if render{ - graphics_worker.send(TimedInstruction{time:ins.time,instruction:crate::graphics_worker::GraphicsInstruction::Render}); + graphics_worker.send(crate::graphics_worker::GraphicsInstruction::Render(physics.output(),ins.time)); } }) } \ No newline at end of file