From 5ff4ecacdd4b4d5d15cb4e37609cd49eb86daaa3 Mon Sep 17 00:00:00 2001 From: Marc Planard Date: Thu, 6 Jul 2023 22:17:49 +0200 Subject: [PATCH] kpps working --- src/main.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 344a71d..1900de8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -97,7 +97,7 @@ fn run_all() -> LJResult<()> { &world_state )?; // For now, draw all the time - tracer.draw(frame, 2_000)?; + tracer.draw(frame, world_state.kpps)?; }, Order::Intensity => { world_state.intensity = rs.get_int("intensity")? @@ -106,6 +106,9 @@ fn run_all() -> LJResult<()> { Order::Edh => { world_state.edh = rs.get_edh()?; }, + Order::Kpps => { + world_state.kpps = rs.get_int("kpps")?; + }, // Order::ClientKey => rs.client_key(), // Order::ColorBalance => {},